Zum Inhalt springen

Es wird bei jeder Zeile ein <p> eingefügt ...

Erstellt am 2. Juli 2007 · 2 Antworten · letzte Antwort am 20. August 2007

Tags: Frage

zeilant ·

bei mir wird in jeder Zeile ein <p> ... </p> eingefügt
auch bei den EXTs, was sehr störend ist, da dadurch das Layout durcheinander gerät

hat jemand eine Ahnung, wie man das Abschalten kann ???

zeilant ·

mit folgenden Zeilen im Code wird dass bereinigt...

{
    # RTE Tuning
    lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
    lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.remapTag >
    lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.DIV.class >
    # Angabe von Tags, die nicht mit einem zusätzlichen wrap umgeben werden dürfen
    lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList = cite, div, p, pre, h1, h2, h3, h4, h5, h6
    # Entfernt die zusätzlichen CSS-Klassen
    lib.stdheader.3 = LOAD_REGISTER
    lib.stdheader.3.headerClass =
    lib.stdheader.3.headerClass.noTrimWrap = |
    lib.stdheader.stdWrap.dataWrap = |
    # Standard-Headings aufräumen
    lib.stdheader.stdWrap.dataWrap =
    lib.stdheader.10.1.fontTag = <h1>|</h1>
    lib.stdheader.10.2.fontTag = <h2>|</h2>
    lib.stdheader.10.3.fontTag = <h3>|</h3>
    lib.stdheader.10.4.fontTag = <h4>|</h4>
    lib.stdheader.10.5.fontTag = <h5>|</h5>

    # Content Elemente aufräumen und Kommentare entfernen
    tt_content.stdWrap.dataWrap >
    tt_content.stdWrap.prefixComment >
    tt_content.header.20.dataWrap >
    tt_content.header.20.prefixComment >
    tt_content.default.prefixComment >
    tt_content.text.stdWrap.prefixComment >
    tt_content.text.20.prefixComment >
    tt_content.textpic.20.stdWrap.prefixComment >
    tt_content.table.20.stdWrap.prefixComment >
    tt_content.mailform.20.stdWrap.wrap >
    tt_content.menu.20.stdWrap.prefixComment >
    tt_content.image.20.stdWrap.prefixComment >
    tt_content.list.20.stdWrap.prefixComment > 


# SPECIAL configuration of a <font>-based site for XHTML compliance ("css_styled_content" extension should deliver CSS based XHTML compliance out of the box)

# Remove font-tag around bulletlists - for XHTML compliance.
tt_content.bullets.20.1.split.1.textStyle < tt_content.bullets.20.1.textStyle
tt_content.bullets.20.1.textStyle >
tt_content.text.20.parseFunc.tags.typolist.1.split.1.textStyle  < tt_content.text.20.parseFunc.tags.typolist.1.textStyle
tt_content.text.20.parseFunc.tags.typolist.1.textStyle >


    # Anpassen der Umschließungen... 
      # Sicherstellen, dass nonTypoTagStdWrap nur im Inhalt außerhalb von <typolist> und <typohead> arbeitet:
      tt_content.text.20.parseFunc.tags.typolist.breakoutTypoTagContent = 1
      tt_content.text.20.parseFunc.tags.typohead.breakoutTypoTagContent = 1
      # ... und kein <BR> vor dem typohead.
      tt_content.text.20.parseFunc.tags.typohead.stdWrap.wrap >
      # Einstellen von nonTypoTagStdWrap, dass der Text mit P-Tags umschlossen wird.
      tt_content.text.20.parseFunc.nonTypoTagStdWrap >
      tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
        encapsTagList = div,p
        remapTag.P = DIV
        wrapNonWrappedLines = <DIV style="margin:0 0 0;">|</DIV>
        # Diese Attribute werden den umschließenden Tags - falls vorhanden - aufgezwungen.
        addAttributes.DIV {
          style=margin:0 0 0;
        }
        addAttributes.P {
          style=margin:0 0 0;
        }
        innerStdWrap_all.ifEmpty = &nbsp;
        innerStdWrap_all.textStyle < tt_content.text.20.textStyle
      }
      # Schließlich noch Entfernen der alten Textstyle-Formatierung des gesamten Haupttextes.
      tt_content.text.20.textStyle >
      # ... und der <BR>-Tag nach dem Inhalt wird auch nicht mehr gebraucht...
      tt_content.text.20.wrap > 
      #

    # entfernt 1-pixel CLEAR.GIF über jedem Bild
    tt_content.image.20.noStretchAndMarginCells = 1
    # Entfernen des clear.gif bzw. der Abstände nach Seitenelementen
    content.headerSpace = 0|0
    content.space = 0|0
    # entfernt automatische Abstände
    styles.content.imgtext.colSpace = 0
    styles.content.imgtext.rowSpace = 0
    styles.content.imgtext.textMargin = 10
    # Noch ein paar <br> entfernen
    styles.content.imgtext.caption.1.wrap = |
    styles.content.imgtext.caption.1.spaceBefore = 0
    styles.content.imgtext.caption.1.br = 0
    # Rahmen bei Checkbox "Rahmen setzen" veraendern
    styles.content.imgtext.borderThick = 1
    styles.content.imgtext.borderColor = #000000
    styles.content.imgtext.borderSelector = DIV.imgtext 
}
fwap ·

hi,

in welchem Code, an welcher Stelle? Und warum ist das ganze mit geschweiften Klammern umgeben? Und, warum #paralyzed# ?