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]