Re: Use-cases for strictinsert=True?
Thomas Lotze <[email protected]> Tue, 20 Sep 2005 18:28:20 +0200
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Tonico Strasser wrote:
> Just for my understanding: would it be possible to dynamically create
> macros with strictinsert=True?:
It means that if <div tal:content="structure foo/bar" /> is interpreted
with strictinsert=True on the TALInterpreter used, foo/bar had better
resolve to something well-formed.
> <div
> tal:repeat="name python: ('foo', 'bar', 'baz')" tal:replace="structure
> string:<div metal:define-macro='$name'/>" />
Just don't show this to little children, OK?
--
Thomas