Bis jetzt habe ich leider nur (aber immerhin) beiträge gefunden, die mir verreiten, wie ich die lästigen clear.gifs und die <p></p>´s wegbekomme.
Wenn mir jetzt noch jemand verraten könnte, wie ich die lästigen <br />-Tags nach <h1> etc. (=Überschriften) wegbekomme, wäre ich sehr dankbar.
Liebe Grüsse,
RPcom
Schau doch mal, ober dir der "Bereinigungs-Code" von Sacha dir weiterhilft:
CONSTANTS:
################################################set some tags to lowercase
content.wrap.header1 = <h1> | </h1>
content.wrap.header2 = <h2> | </h2>
content.wrap.header3 = <h3> | </h3>
content.wrap.header4 = <h4> | </h4>
styles.content.bulletlist.altWrap=<li>|</li>
###############################################
################################################Remove <br> and blind gifs between header and content
content.headerSpace = 0 | 0
content.space = 0|0
###############################################
################################################remove target attribute from link and form tags
PAGE_TARGET =
###############################################
SETUP:
################################################remove non-valid attributes from body-tag
page.bodyTag = <body>
###############################################
################################################generate xhtml-code
config.xhtml_cleaning = all
###############################################
################################################remove <br> after <h1></h1>
lib.stdheader.10.stdWrap.wrap =
###############################################
################################################CSS-Angaben fuer p-tags bereinigen
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
P.style=
PRE.style=;
}
###############################################
################################################no wrapping of RTE lines
tt_content.text.20.parseFunc {
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p>|</p>
}
###############################################
################################################bullet lists
tt_content.bullets.20.2.wrap = <ul>|</ul>
tt_content.bullets.20.2.split.1.wrap =
tt_content.bullets.20.3.wrap = <ul>|</ul>
tt_content.bullets.20.3.split.1.wrap =
tt_content.bullets.20.default.split.1.wrap =
tt_content.bullets.20.default.wrap = <ul>|</ul>
###############################################
################################################ Einstellungen für Listen aus RTE
tt_content.text.20.parseFunc.tags.typolist.default.wrap = <ul
class="list1"> | </ul>
tt_content.text.20.parseFunc.tags.typolist.default.split.1.wrap =
tt_content.text.20.parseFunc.tags.typolist.1.fontTag = <ol
class="list1"> | </ol>
tt_content.text.20.parseFunc.tags.typolist.1.split.1.wrap =
###############################################