[TYPO3-english] HTMLarea RTE: Problem with <p> being added around hr and img
Daniel Rutzen
ardan at gmx.net
Thu Sep 10 13:40:07 CEST 2009
Hello,
my head is going to explode as I can't find a solution to my problems:
First Problem: From DB -> FE
My RTE content looks like this (htlm view)
<p><img src="http://localhost/typo/bla.jpg" /></p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</p>
<hr />
<div class="test"><p>div test</p></div>
BUT: at the frontent, somehow the <hr> got wrapped within a <p> as well!
<p><img src="http://localhost/typo/bla.jpg" /></p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</p>
<p><hr />
<div class="test"><p>div test</p></div> </p>
I tried "allowTagsOutside = hr, address, img" in my page TSconfig, with
no luck :-(
SECOND Problem: just RTE
How can I prevent the RTE from automatically wrapping
<img /> in <p></p>-tags?
I also dont want the text withing a <div>-tag being wrapped in <p> as
well :-/
More information about the TYPO3-english
mailing list