Forums / General / Strange behaviour on line breaks inside link tags

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Strange behaviour on line breaks inside link tags

Author Message

Mauro Innocenti

Thursday 22 June 2006 1:48:57 am

I've tried to insert this code in an XML field:

<link href='http://some/url'>line 1
line 2
line 3</link>

Exponential 3.7.6 (publishing the object and re-editing it) transform the above code in:

<link href='http://some/url'>line 1line 2line 3</link>

deleting all line breaks!

Ezp 3.8.0 perform a different transformation on the same code:

<link href='http://some/url'>line 1</link>
<link href='http://some/url'>line 2</link>
<link href='http://some/url'>line 3</link>

duplicating links!

I think neither ezp 3.7.6 and 3.8.0 behave correctly...
I would like ezp retain all line breaks inside my single link.