[Typo3] Getting rid of <p> alltogether

Robert Markula robert.markula at gmx.net
Fri May 13 07:06:08 CEST 2005


Amir Mualem wrote:
> I am trying to get rid of the <p> tags around the author name in tt_news 
> however every time I change and update the wrap value in the template 
> object browser, the P tag never goes away.  I dont want the p tag 
> because it makes a new line.
> 
> How can I get rid of it?

Hi Amir,
What have you tried so far?
You can write this line in your Template TS Setup:
general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag =

This only removes the <p>-Tag for tt_news elements:
plugin.tt_news.general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag 
=

Does it help?

Ro



More information about the TYPO3-english mailing list