Forum OpenACS Q&A: Re: Copenhagen - noquote and csrf

Collapse
Posted by Jade Rubick on
I've poked through all the references, and I'm still not clear on what noquote does. How does it change the quoting behavior of the templating system?
Collapse
Posted by Tilmann Singer on
As far as I know, it means that by default any text being displayed on a html page is automatically html quoted. So when you have a 'less than' sign in your tcl string, it will automatically be converted into the appropriate html entitiy in the adp page. This default quoting can be explicitely switched off for individual strings if required. 'noquote' is a bit of a misnomer, it should propably be 'quotebydefault' or something like that.