[Zope] lower tags in ZPT
Andreas Jung
lists at andreas-jung.com
Sun Nov 7 05:47:57 EST 2004
If the 'content_type' property of your PT is set to text/html then all tags
will be lower-cased
which is perfectly fine for HTML. If set to 'text/xml' tags won't be
touched.
-aj
--On Sonntag, 7. November 2004 11:37 Uhr +0100 hk <kleindienst at gmx.ch>
wrote:
> Hello, I realized that ZOPE converts all Tag's in page templates to
> lower case, e.g.
> <n1:Tag1>Abc</n1:Tag1>
> <n1:TagTag>Abc</t1:TagTag>
> is turned into
> <n1:tag1>Abc</n1:tag1>
> <n1:tagtag>Abc</t1:tagtag>
> ... all tags are now lower case. Are there any methods to avoid this
> behaviour? The workaround is to use python script with print statements,
> but that can't quite be the only solution, can it?
> Cheers,
> Hannes
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list