Check for corrupt nodes on `normalizeHtml`.
Merge branch 'master' into issue_512