[ZPT] How do I preserve HTML comments in TAL ?
Jean Jordaan
jean at upfrontsystems.co.za
Wed Jul 2 18:04:57 EDT 2003
Hi all
How do I write this in a page template?
"""
<style type="text/css">
<!--
@import url(/emss/files/feko2.css);
-->
</style>
"""
I want to make the path ('/emss/...') dynamic, but this escapes the
angle-brackets:
<style type="text/css" tal:content="string:<!-- ... -->"/>
and this doesn't execute the TAL:
"""
<style type="text/css">
<!--
<x:tal replace="string:@import url(${here/...});" />
-->
</style>
"""
Is there a way I'm missing?
--
Jean Jordaan
http://www.upfrontsystems.co.za
More information about the ZPT
mailing list