Re: [htmltmpl] option to turn ESCAPE=HTML on by default
Brought to you by:
samtregar
From: Carl F. <fir...@gm...> - 2005-10-18 11:40:27
|
On 18/10/05, Philip Tellis <phi...@gm...> wrote: > I want both to be on by > default. There can only be 1 _default_, by definition > It makes sense therefore to do this: > > html_escape =3D> 1, js_escape =3D> 1, foo_escape =3D> 0 > Of course, it's pretty hard to figure out which TMPL_VARs need to be > escaped in each way. It's also hard to extend this with sanity. s/pretty hard/impossible/; That's why there's only 1 _default_. If there's going to be more HTML vars than URL's, then set default to HTML, and manually set each URL var to ESCAPE=3DURL - or vise-versa - it's still less work to do that before. Carl |