Forums / General / Line breaks in XML text areas
Dries Samyn
Wednesday 30 June 2004 3:53:02 am
Weird problem. I am using eZ Editor for the XML areas, and I noticed that sometimes their would be a linebreak (<br />) inserted when adding an object (link to related page in this case).I turned off the editor, and I noticed that it's actually when saving the page (Send for publishing), the system sometimes adds a linebreak to the text. For example:
my text blah <object ...
would, after publishing and editing again have become:
This seems to happen on specific placed in the content, not with specific object.
The only other thing I have noticed is twice the following warning when accessing the form:
Missing argument 1 for edittemplatesuffix() in c:\...\kernel\classes\datatypes\ezxmltext\ezxmlinputhandler.php on line 176
I am using version 3.4
This seems like a small bug, but it is a really annoying actually because the pages look weird. Does anybody have any ideas about what causes this?
Ekkehard Dörre
Wednesday 30 June 2004 4:06:16 am
In design/standard/templates/content/datatype/view/ezxmltags/object.tpl
you can change block into inline view.
Greetings, ekke
http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing
Wednesday 30 June 2004 4:15:57 am
That's not the problem. It's showing the objects inline, it's just sometimes adding a linebreak and sometimes it's not (even in the same field).
Thursday 01 July 2004 8:04:40 am
I still haven't found a solution to this. Has anybody any suggestions?Or even where I should start looking? It must be while saving the data (submiting the form) that the line break must be added. I don't know where though.
Thanks,
Dries.
Friday 02 July 2004 8:55:35 am
Come on ;)Anybody of the eZ crew? Surely I can't be the only person that experience this bug?
Tuesday 06 July 2004 4:36:43 am
Am I really the only person that has this problemn? I swear, the system is adding a line break while saving the XML field data to the DB. And the warning above must indicate there is some kind of bug??