[Typo3] htmlArea RTE troubles: div -> p

Pieter pieter_v at telenet.be
Thu May 12 19:45:23 CEST 2005


Configuration: Typo3 3.7 + htmlArea RTE 0.4.74
 
The HTML code of a table looks fine inside the source view of the 
htmlArea editor but somehow things goes wrong on during page generation.
 
This is de source code in htmlArea (I modified the tag markers and 
cleaned it a bit):
 
(table cellspacing="10" cellpadding="1" border="0" )
            (tbody)
                        (tr)
                                    (td)
                                                (div style="text-align: 
center;")(span style="font-weight:bold;")VOOR(/span)(br/)
                                                (/div)
                                                (div style="text-align: 
center;")
                                                (/div)
                                    (/td)
                        (/tr)
            (/tbody)
(/table)
 
And this is the output on the web page:
 
(table cellspacing="10" cellpadding="1" border="0" class="contenttable")
            (tbody)
                        (tr )
                                    (td )
                                                (p style="text-align: 
center;")(span style="font-weight: bold;")VOOR(/span)(br/)
                                                (/div)
                                                (div style="text-align: 
center;")(/p)
                                    (/td)
                        (/tr)
            (/tbody)
(/table)
 
The first (div ...)  is suddenly a (p ...).  A (/p) is added at the end 
of the table.  
 
Seeing things like this makes me lose my trust in Typo3 ...
 
Did some research: something close to an answer is present in 
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110120260/?tx_maillisttofaq_pi1%5Bsword%5D=rte%20div%20p&tx_maillisttofaq_pi1%5Banswered_only%5D=0&tx_maillisttofaq_pi1%5Bmode%5D=1 
<http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110120260/?tx_maillisttofaq_pi1%5Bsword%5D=rte%20div%20p&tx_maillisttofaq_pi1%5Banswered_only%5D=0&tx_maillisttofaq_pi1%5Bmode%5D=1> 

 
but it does not work in my case. 
What is happening here? 
Why is the clean source code of htmlArea not simply shown on the web page?
 
Regards,
Pieter Verstraelen



More information about the TYPO3-english mailing list