[Typo3-german] encapsTagList

Marcel Alburg marcel.alburg at alkronet.info
Thu Jul 14 20:48:39 CEST 2005


hallo

ich hab folgendes problem

wenn ich im inhalt schreibe

<div>
  <div class="headline">test</div>
  <pre>
  .
  .
  .
  </pre>
</div>

dann macht typo3 folgendes draus

<p><div></p>
  <p><div class="headline">test</div></p>
  <p><pre></p>
  <p>.</p>
  <p>.</p>
  <p>.</p>
  <p></pre></p>
<p></div></p>

ich will es aber so lassen wie ich es oben geschrieben hab.

hat jemand ne idee ?

thx marcel



tt_content.text.20.parseFunc {
  allowTags = tt, table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div,
p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup,
strike, a, img, nobr, hr, center, font, tt, q, cite, abbr, acronym,
sdfield

  nonTypoTagStdWrap >
  nonTypoTagStdWrap.encapsLines {
    nonWrappedTag >
    wrapNonWrappedLines = <p>|</p>
    # erzeugt um alle zeilen die keinen tag haben den angegebenen tag

    encapsTagList = div,p,pre,h1,h2,h3,h4,h5,h6
    # mappt tags zu den zugewiesen tags
    # remapTag.DIV = P

    # nonWrappedTag = P

    # löscht die &nbsp; bei den leeren zeilen raus
    innerStdWrap_all.ifEmpty = 

    addAttributes {
      # löscht/Setzt den style tag von den angegebenen tags
      P.style=
      PRE.style=;
    }
  }
  tags.typolist {
    default.wrap = <ul> | </ul>
    default.split.1.wrap =
    1.fontTag = <ol> | </ol>
    1.split.1.wrap = 
  }
}




More information about the TYPO3-german mailing list