Re: [htmltmpl] Valid XHTML templates
Brought to you by:
samtregar
From: Tobias G. <lis...@e-...> - 2005-01-31 19:16:21
|
Pete Prodoehl wrote: >> [1] valid XHTML, working: >> >> <title><tmpl_var name="title"/></title> > > Does this work? It's not really xhtml, but valid xml. > <title><!-- tmpl_var name="title" --></title> This will work. It's more difficult, when it comes to attribute values, where html comments will not work. But {% tmpl_var name="title" %} works well for me now. I simply replace this with a filter. Tobias |