[TYPO3-RTE] htmlarea
Stefano Kowalke
blueduck at gmx.net
Sat Jul 5 20:16:02 CEST 2008
Hi,
the whole day i searching for a solution for this problem:
RTE/TYPO3 transform the HTML sourcecode which i entered in the editor on the
way to the DB and back to BE/FE.
I put this (valid XHTML 1.0) code into the RTE:
...
<div class="vcard">
<h3 class="title">Title</h3>
<span class="fn">Givenname Name</span>
<div class="adr">
<div class="street-address">Street</div>
<span class="postal-code">03145</span>
<span class="locality">City</span><br />
<div class="country-name">Country</div>
</div>
<div class="tel">Phone</div>
</div>.
...
After saving the page, i got this code back:
<div class="vcard"><h3 id="julia_siegel" class="title">Title</h3>
<p> <span class="fn">Givenname Name</span> </p>
<div class="adr"><div class="street-address"><p>Street</p></div>
<p> <span class="postal-code">03145</span>
<span class="locality">City</span><br /> </p>
<div class="country-name"><p>Country</p></div></div>
<div class="tel"><p>Phone</p></div>
</div>
In his endless wisdom RTE/TYPO3 put a <p>-tag pair around every <span>-tag
and plain text if this between <div> like <div
class="country-name"><p>Country</p></div>.
I thought this transformation should help to write valid code, but this
annoy me.
Can somebody give me a hint how i can switch off inserting the <p> tags.
Cheers
Stefano
--
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert!
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
More information about the TYPO3-project-rte
mailing list