Greetings All,

Can a Template escape the HTML of an object's properties when it
evaluates?  E.g.

var tpl = new Template('<p>No HTML #{prop}.</p>');

tpl.evaluate({prop: '2 < 3'}); // BAD! displays <p>No HTML 2 < 3</p>

can this display: <p>No HTML 2 &lt; 3</p>

Thanks for any pointers.

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to