Forums / Suggestions / Make ezimage template tolerant to missing quotes for href
Marc Boon
Monday 13 March 2006 6:18:28 am
In templates/content/datatype/view/ezimage.tpl replace
href={$href}
with
href="{$href|trim('"')}"
This makes sure valid xhtml is generated no matter if the href attribute of a attribute_view_gui on an image is quoted or not. Might also be useful for other datatypes.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs