Re: Sanitising HTML content through sandboxing

>
> DOMParser.parseFromString already takes a content type as the second
>
 argument. The plan is to support HTML parsing when the second argument
> is text/html.
>

I quite like this as it keeps it agnostic towards what it is parsing so
other formats like MathML and SVG won't look out of place with HTMLParser
object.

How would this handle sanitising?


-Ryan

Received on Thursday, 10 November 2011 23:06:25 UTC