Keven Ages wrote:
Is there a way to declare specific tags to not be changed within lenya,
you mean tags like you describe below?
possibly before or after it hits the pipeline?
since everything (except readers) is going through a pipeline, things
will be changed
according to the transformers and serializers one is using, but I am not
sure if really
understand you are trying to accomplish.
Can you give an example?
Michi
Keven
-----Original Message-----
From: Michael Wechner [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 3:28 AM
To: [email protected]
Subject: Re: Possible Lenya bug
Keven Ages wrote:
I just noticed while creating a new template in Lenya that for some
odd reason div tags that have no content in them are ended (I'd
imagine by the XSLT processor).
For example
<div id="mainLogo"></div>
Is changed to:
<div id="mainLogo" />
</div>
If I put content inside the div it doesn't end it. This is a major
problem if you are using a lot of background images or container divs.
agreed. It's not a bug but rather a feature of Cocoon, but yes, a
feature which can be annonying.
As Victoria is saying, one can put in a #160; (nbsp), but this isn't
always a good workaround.
IIRC another possibility is that one can actually configure within the
serializer, but I am not sure anymore.
Michi
Keven Ages
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]