- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 02 Mar 2016 00:21:00 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Wednesday, 2 March 2016 08:21:28 UTC
I think the main hindrance is it becoming a popular way to create elements, maybe even the defacto way. And probably if we were to add an API like that I'd like the default to be safer than `innerHTML`. E.g., have XSS filtering by default and require the usage of ```unsafeHTML`...```` to do what the library does now. (Then there's also other activity around the HTML parser that likely takes priority for implementers, such as making custom elements work and providing a streaming API around the HTML parser (once we have sorted out network streaming).) --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/150#issuecomment-191124317
Received on Wednesday, 2 March 2016 08:21:28 UTC