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

Uschi Renziehausen typo3news at otherone.de
Wed Nov 21 14:05:11 CET 2007


Hello James,

in the constants section of your template (NOT Page TSConfig!) make sure 
that del and ins are present in the constant 
styles.content.links.allowTags. By default they are not.

Hope, this helps, Uschi

James Knuckey wrote:
> 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?
> 


More information about the TYPO3-project-rte mailing list