Re: html template string handler WAS: E4H and constructing DOMs

On Mon, Mar 11, 2013 at 12:55 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Mon, Mar 11, 2013 at 7:12 PM, Adam Barth <w3c@adambarth.com> wrote:
>> I'd recommend restricting untrusted data to text nodes.  That means we
>> wouldn't be able to support those sorts of templates becaue {foo}
>> would need to expand to something other than a text node.
>
> You mean not addressing the use cases related to attributes?

Yes.  (Note: E4H doesn't let template inputs expand to anything other
than a text node either.)

Adam

Received on Monday, 11 March 2013 20:13:57 UTC