[TYPO3-core] RFC: html cleaner corrupts RDF data in HTML comments

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Oct 15 09:41:20 CEST 2007


Hi!

Dmitry Dulepov [typo3] wrote:
> Problem: if config.xhtml_clean=all is set in TS setup, html cleaner will 
> convert all tags to lower case, including those in comments. RDF uses 
> several upper-case tags and they are case-sensitive. Thus html cleaner 
> corrupts this data.
> 
> Solution: first problem was discovered by Ingo (see 
> http://www.ingo-renner.com/index.php?id=13) and he intended to use 
> regular expresssion to remove comments and than put them back. I am not 
> sure if this succeeded or not but I made my own solution, which just 
> ignores content of comments completely while cleaning html. I think this 
> is compatible with existing decription of xhtml_cleaning in TSRef. One 
> note to prevent possible questions about nesting: nested comments are 
> not allowed in html by specification ;)

Re-mind-er :)

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list