[TYPO3-RTE] hr is wrapped

ulrich becker winiwini at gmx.de
Tue Feb 28 11:00:03 CET 2006


hi steffen,

i had the same problem and solved it by putting the following code into the 
template-setup

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines >
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
  encapsTagList = div,p
  removeWrapping = 1
  wrapNonWrappedLines = |
            }

i found this solution at http://typo3.net/forum/list/list_post//33125/

hope it works for you too

regards
ulrich



"Steffen Kamper" <steffen at dislabs.de> schrieb im Newsbeitrag 
news:mailman.1.1141030639.5092.typo3-project-rte at lists.netfielders.de...
> Hi list,
>
> on the way to valid code i have one problem
>
> when i use <hr /> it is wrapped in p-tags.
>
> I used in setup this:
>
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList = cite, div,
> p, pre, hr, h1, h2, h3, h4, h5, h6
>
> but it doesn't work if i insert the hr from button (line), it works if i 
> write it in the source manually.
>
> Any advice ?
>
> 





More information about the TYPO3-project-rte mailing list