{ "name": "Normalize whitespace", "options": { "normalizeWhitespace": true }, "html": "Line one\n
\t \r\n\f
\nline two
x
", "expected": [ { "data": "Line one ", "type": "text" }, { "type": "tag", "name": "br", "attribs": {} }, { "data": " ", "type": "text" }, { "type": "tag", "name": "br", "attribs": {} }, { "data": " line two", "type": "text" }, { "type": "tag", "name": "font", "attribs": {}, "children": [ { "type": "tag", "name": "br", "attribs": {} }, { "data": " x ", "type": "text" } ] } ] }