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:
parent
758e91dd6c
commit
b704fb1289
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue