Bugzilla – Bug 1031
HtmlSerializer: <noscript> text node children are always unescaped
Last modified: 2016-12-14 10:51:35 CET
The standard says "If the parent of current node is a style, script, xmp, iframe, noembed, noframes, or plaintext element, or if the parent of current node is a noscript element and scripting is enabled for the node, then append the value of current node's data IDL attribute literally." However, nu.validator.htmlparser.sax.HtmlSerializer always has "noscript" in NON_ESCAPING, there's no way to turn it on and off depending on the scripting flag. Encountered during testing, this is not a problem for us in production.