Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-23 Thread Dieter Maurer
Hermann Himmelbauer wrote at 2008-8-20 19:34 +0200: >Hi, >I have a page template, that should have the characters "<" and ">" in the >resulting HTML code, e.g.: > > HTML forbids "<" in attributes: it must be represented there as "<". Thus, Zope does the correct thing (as standard conformity is a

Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-22 Thread Chris Withers
Christian Theune wrote: > PS: This makes the little internet elves cry. Not to mention coming and finding you in your sleep and cutting your fingers off to prevent you doing it again... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk

Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-21 Thread Christian Theune
On Thu, 2008-08-21 at 13:30 +0200, Hermann Himmelbauer wrote: > Yes, many thanks for that, this did the trick! Interestingly, something like > this did not work:: > > def attrcode(self): > return '' > > Of course not. The quoting happens because of tal:attributes. Just moving the `python

Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-21 Thread Hermann Himmelbauer
Am Mittwoch 20 August 2008 19:59:37 schrieb Christian Theune: > On Wed, 2008-08-20 at 19:34 +0200, Hermann Himmelbauer wrote: > > Hi, > > I have a page template, that should have the characters "<" and ">" in > > the resulting HTML code, e.g.: > > > > > > > > Zope3 makes a < / &rt; out of the "<>"

Re: [Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-20 Thread Christian Theune
On Wed, 2008-08-20 at 19:34 +0200, Hermann Himmelbauer wrote: > Hi, > I have a page template, that should have the characters "<" and ">" in the > resulting HTML code, e.g.: > > > > Zope3 makes a < / &rt; out of the "<>" characters: > > > Is there a way to get around this automatic conversio

[Zope-dev] How to put "<", ">" in HTML attributes?

2008-08-20 Thread Hermann Himmelbauer
Hi, I have a page template, that should have the characters "<" and ">" in the resulting HTML code, e.g.: Zope3 makes a < / &rt; out of the "<>" characters: But this makes no difference. Any clues? Best Regards, Hermann P.S.: I know, this seems to make no sense, but the page is a template