Forums / General / Multiples carriage returns in ezxml field

"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".

Multiples carriage returns in ezxml field

Author Message

Sébastien Antoniotti

Monday 18 June 2007 7:26:30 am

Hi,

I have a problem with the ezxml field : even if I enter 5 or 10 carriage returns, Exponential removes them and keeps only one carriage return.

I know that we can allow multiples spaces and tabulations in ezxml.ini but I don't know how to allow multiples carriage returns, and I need to space my lines with 2 carriage returns like this :

line1
[blank line]
line2

thanks in advance !

eZ Publish Freelance
web : http://www.webaxis.fr

Sébastien Antoniotti

Monday 18 June 2007 11:15:47 pm

Please help !

eZ Publish Freelance
web : http://www.webaxis.fr

Łukasz Serwatka

Monday 18 June 2007 11:30:39 pm

Hi Sébastien,

Look on setting in content.ini:[paragraph].AllowEmpty
I think this is what you need.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Sébastien Antoniotti

Monday 18 June 2007 11:38:51 pm

Hi Lukasz,

thanks for your help, I just have fond it with our friend google =) here : http://209.85.135.104/search?q=cache:EOfsT0OYRQcJ:ez.no/download/ez_publish/changelogs/ez_publish_3_8/changelog_3_6_x_3_7_x_to_3_8_0+%22AllowEmpty+setting:+Is+this+allowed+to+have+empty+paragraphs+in+eZXML%22&hl=fr&ct=clnk&cd=1&gl=fr

It works well !

Many thanks and good dev !

eZ Publish Freelance
web : http://www.webaxis.fr