feat(Compiler): case sensitive html parser
This commit is contained in:

committed by
Victor Berchet

parent
e274ff8a69
commit
86aeb8be0a
@ -26,7 +26,7 @@ export function main() {
|
||||
beforeEach(inject([HtmlParser], (_htmlParser: HtmlParser) => { htmlParser = _htmlParser; }));
|
||||
|
||||
function preparse(html: string): PreparsedElement {
|
||||
return preparseElement(htmlParser.parse(html, '')[0]);
|
||||
return preparseElement(htmlParser.parse(html, '').rootNodes[0]);
|
||||
}
|
||||
|
||||
it('should detect script elements', inject([HtmlParser], (htmlParser: HtmlParser) => {
|
||||
|
Reference in New Issue
Block a user