[TYPO3-RTE] converting u and strike to ins and del tags
James Knuckey
james.faction at gmail.com
Thu Nov 22 00:10:10 CET 2007
That did the trick! Thanks muchly.
Strange that ins and del are not in the allowed list, but I suppose not
that strange - best to have a restrictive list.
Cheers,
James
On Thu, 22 Nov 2007 02:05:11 +1300, Uschi Renziehausen
<typo3news at otherone.de> wrote:
> 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 > and < 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-project-rte
mailing list