[TYPO3-RTE] Using rtehtmlarea in tt_news, <p> are stripped

John Nicholas typo3user at mobosplash.com
Fri Mar 10 21:21:35 CET 2006


John Nicholas wrote:
> I am using rtehtmlarea 1.2 in typo3 3.8 with tt_news 2.2.24.
> 
> I have the RTE behaving pretty well for normal content and almost 
> identically in tt_news except all my <p> tags are getting stripped out. 
> I know that it goes in the database as line breaks but on the news pages 
>  it is not adding the <p> tags back in. Works fine in regular content.
> 
> I've wasted a lot of hours and research but haven't been able to figure 
> out why the behavior is different.

I finally found where tt_news was getting it's own version of this 
processing. lib.parseFunc_RTE is apparently where the db-to-frontend 
processing happens. plugin.tt_news.general_stdWrap.parseFunc is the 
equivalent for the tt_news plugin

this:
plugin.tt_news.general_stdWrap.parseFunc < lib.parseFunc_RTE

will make them the same. Or you can use the above to create whatever 
differences you might need between the two.





More information about the TYPO3-project-rte mailing list