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);
|
processWord(myWord);
|
||||||
myWord.erase();
|
myWord.erase();
|
||||||
|
if (!myInsideComment) {
|
||||||
processControl(*ptr);
|
processControl(*ptr);
|
||||||
|
}
|
||||||
start = ptr + 1;
|
start = ptr + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue