godaddy / svgs

svgs is a compatiblity layer between svg and react-native-svg
MIT License
191 stars 31 forks source link

Replace textpath with textPath since it is sometimes case-sensitive #12

Closed taylor1791 closed 7 years ago

taylor1791 commented 7 years ago

According to svg2 spec, textpath should be textPath.

This is not just a nit-pick, because some browsers will ignore the element if it does not have the correct case. Here is one example where some random person on the internet ran in this problem in a different context.

3rd-Eden commented 7 years ago

Even if it was a nitpick I would have merged it, but it's a valid bug. Thanks for taking the time to track and fix it. Much appreciated.