[TYPO3] converting u and strike to ins and del tags

James Knuckey james.faction at gmail.com
Tue Nov 20 01:38:58 CET 2007


I've changed the rte to convert <u> and <strike> tags into xhtml-compliant  
<ins> and <del> tags. This is so people can use underline and  
strikethrough on inserted text elements.

I did this in the same way that <b> and <i> are converted to <strong> and  
<em> by default:

added
tags.u.remap = ins
tags.strike.remap = del
- to exitHTMLparser_db, and removed u and strike from removeTags. I also  
added del and ins to allowTags.

This all works great and in fact shows fine in the RTE - but on the page  
every time the angle brackets are converted to &gt; and &lt; meaning the  
tags show up on the page instead of the intended effect!

What have I missed? Does anyone know how to fix this?

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the TYPO3-english mailing list