jprichardson / string.js

Extra JavaScript string methods.
http://stringjs.com
1.81k stars 233 forks source link

Single quotes encoded with ' instead of ' #92

Open morgoe opened 10 years ago

morgoe commented 10 years ago

This part of the code is borrowed from underscore.js (from line 717). This issue was present in underscore.js but was fixed in a later version. You can see the git fix for underscore.js here: https://github.com/epeli/underscore.string/issues/153

This results in IE rendering incorrectly, (ie. "Joe's Farm" will render as Joe's Farm").

jprichardson commented 10 years ago

Thanks for reporting. Would love a PR :)