simonexmachina / jquery-bonsai

Super lightweight jQuery tree plugin
http://simonwade.me/jquery-bonsai
MIT License
148 stars 42 forks source link

Add @charset "UTF-8" hint to jquery.bonsai.css #28

Closed tbl0605 closed 7 years ago

tbl0605 commented 7 years ago

Hi, please, could you add following line at the beginning of your jquery.bonsai.css file ? @charset "UTF-8";

If the content-type of the html page is not UTF-8 (in my case I use ISO-8859-1), css rules like "li.has-children > .thumb:after" and "li.has-children.expanded > .thumb:after" will not be rendered correctly. And it's also good practice in general to add the @charset hint when using non-ASCII characters ;)

Thank you !

simonexmachina commented 7 years ago

I've added that and pushed v2.1.1. Thanks for pointing it out.

tbl0605 commented 7 years ago

With pleasure ;)