fix: handle style elements with CDATA

This commit is contained in:
Mikael Sand
2019-10-20 16:09:37 +03:00
parent 5f3852bf9c
commit b3fca84fb1
+2
View File
@@ -383,6 +383,8 @@ export function parse(
error('expected ]]>');
}
children.push(source.slice(i + 7, index));
i = index + 2;
return neutral;
}