CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.76k stars 483 forks source link

invalid xml report when IE8 hack with css rule with '\0' is present #709

Open vamshikr opened 7 years ago

vamshikr commented 7 years ago

Example: For input[type="radio"] { width: 15px; width: 18px \0; height: 15px; height: 18px \0; border-radius: 1em; }

CSSlint is decoding the \0 as null character and writing it in the output XML file for a rule violation "Expected end of value but found". Having a null character makes the output xmlfile invalid (not utf-8)