Fixed CSS comment handling

Control characters inside the comment were not ignored, and the
statement following such comment was usually lost.
This commit is contained in:
Slava Monich 2015-07-03 23:14:34 +03:00
parent 758e91dd6c
commit b704fb1289

View file

@ -95,7 +95,9 @@ void StyleSheetParser::parse(const char *text, int len, bool final) {
}
processWord(myWord);
myWord.erase();
processControl(*ptr);
if (!myInsideComment) {
processControl(*ptr);
}
start = ptr + 1;
}
}