[TYPO3-english] Self-closing html htags

Gorosito Gonzalo xgonzalo at gmail.com
Wed Jan 25 16:42:24 CET 2012


Hi fellows!

I have a tt_content, of CType html and being rendered via TSRef/RECORDS
function, and all HTML is being parsed correctly, except for <br/>.

Also, in my main typoscript config I have:

config.doctype = xhtml_strict
tt_content.html.parseFunc < lib.parseFunc_RTE

The problem is, if I put <br></br> typo3 renders the <br/> but if my
tt_content have <br/> the tag is not rendered as HTML entity, is rendered
as pure text.

Any ideas to make typo3 accept self-closing tags in html content?

Thanks in advance
#######################################
#  Gonzalo Gorosito
#  Programador && sysadmin
#
#  http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
info, notícias y mucho mas.
#  http://www.ggorosito.com.ar - Website personal
#######################################


More information about the TYPO3-english mailing list