On 03/03/2014 03:19 PM, Boris Zbarsky wrote:
That said, there might be JS implementations of an HTML5 parser out there.
The Gaia e-mail app has a streaming HTML parser in its worker-friendly sanitizer at https://github.com/mozilla-b2g/bleach.js/blob/worker-thread-friendly/lib/bleach.js. It's derived from jresig's http://ejohn.org/blog/pure-javascript-html-parser/
Note: There are probably better options out there, just thought I'd call it out.
Andrew _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform