@Nuria: you seem to have missed my point, which is that
is just one implementation of the design.
Other implementations exist -- 28 of them are listed at
alone -- and some of these offer a more
principled approach to escaping.
In particular, I keep mentioning the [spacebars] implementation, which
is based on [htmljs] and is a structured template system, without the
need for any explicit escaping.