[TYPO3-german] Wie <p> Tags entfernen ?

Markus Burkhardt markus.burkhardt at gmx.de
Thu Mar 2 10:06:11 CET 2006


Ich habe das Problem, das seit ich die CSS Styled COntent verwende, 
überall <p> Tags drin habe. Ich konnte mit folgendem Code schon einige 
<p> durch <br> ersetzen. Leider sind bei der Standard Sitemap und den 
MiniNews noch immer <p> Tags drin.

Wie bekomme ich die weg ?


tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines >
       tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
           encapsTagList = div,p
           removeWrapping = 1
           wrapNonWrappedLines = |<br>
         }

# <p>-Tag durch <br> im Content ersetzen
tt_content.text.20.parseFunc = < lib.parseFunc
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines 
= |<br>

tt_content.menu.20.2 < styles.sitemap.text

Achja, wer sich das mal anschauen möchte, schaut auf 
http://typo3.markus-burkhardt.de

gruß
Mauki



More information about the TYPO3-german mailing list