From b550fd70396618136a1e7272fdc0dc7d9373692d Mon Sep 17 00:00:00 2001 From: Antti Korpi Date: Thu, 1 Oct 2020 20:15:29 +0200 Subject: [PATCH] Make << in comment text parse correctly (#326) Inside comments two consecutive less-than characters (`<<`) parsed wrongly as ` tokenizer.getNextToken() }; } ); + +exports['Regression - `<<` in comment parses correctly (GH-325)'] = { + test() { + const document = parse5.parse(''); + assert.equal(document.childNodes[0].data, '<<'); + } +};