This is handled by the DOM automatically in arrow since it uses things like “el.setAttribute” and “el.innerText”
> t`<button @click="${() => data.clicks++}">Fired ${() => data.clicks} arrows</button>`
If so, that is impressive, and something I'd love to use!
Edit: I'm asking because I attempted to use template literals for HTML templates and escaping values is the trickiest part. I settled for requiring the caller to tell me what kind of escaping to use (with the default being very conservative).
Is that a bug or am I just not understanding what you're saying?