Thanks a lot Mark. I still don't think this will allow me to make several <br /> in a row. At least OE still wouldn't let me. It did however allow empty paragraphs, and if that's the only available option then I guess we'll have to live with that. :-\
I've tested the AllowEmpty=true option in content.ini.append.php (in both user and admin siteaccess) and the result is not the one we could expect:
In the preview admin interface I get this source code:
<p>Text of my paragraph</p>
<p>
<br/>
</p>
<p>
<br/>
</p>
<p>
<br/>
</p>
<p>Pascal</p>
But in the page of the public site I get this source code:
<p>Text of my paragraph</p>
<p/>
<p/>
<p/>
<p> Pascal </p>
So there are no break line and the result is like if I hadn't turn on the AllowEmpty option.
Did I miss something else ? (I use ez 3.9.4 and OE 4.2.4)
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
I guess it's correct to say that the <i>paragraphs</i> are empty. These would normally be stripped away without the AllowEmpty attribute set to true.
An empty paragraph is not the best solution in my opinion because a <br> would normally give a spacing of one line height while the paragraph would give some more, often a double line height. This results in less control for the user.
While I agree that most of the time this kind of layout manipulation should be avoided, it is sometimes a demand from the client that can't be denied them.
You must be logged in to post messages in this topic!