(test) handle sanitization before passing data to libxml

This commit is contained in:
Ludovic Marcotte
2016-12-06 14:05:27 -05:00
parent 0038e4bc60
commit 2a2ebd553e
2 changed files with 13 additions and 3 deletions
+2 -1
View File
@@ -302,7 +302,8 @@ static int cssEscapingCount;
{
c = buf[i];
if (c == 0x9 ||
if (c == 0x0 ||
c == 0x9 ||
c == 0xA ||
c == 0xD ||
(c >= 0x20 && c <= 0xD7FF) ||