[TYPO3-dev] HTMLparser_rte - Correct configuration?
Steffen Kamper
steffen at sk-typo3.de
Sun Jun 29 11:12:43 CEST 2008
Steffen Ritter schrieb:
> Hello list,
> in my current situation I'm having some problems to configure
> HTMLparser_rte.
> Because we are on scientific presentation wie included LateX renderer
> into T3, which works fine so far (custom tag <math></math> ist
> processed). For proper work I slightly adapted the existing LaTeX
> Extension configuration and configured RTE to keep the <math>-Tag.
> For proper alignement of formulars wee need the "&". But onLoad of RTE
> this gets transformed to & and saved back in this way to database.
>
> So I looked at RTE API and found HTMLparser_rte,entryHTMLparser_rte and
> exitHTMLparser_rte Objekt. Since In HTMLparser_rte i Cant define "keep
> content of tag untouched" I tried to use entry and exit...
> But this did not work as aspected. So my question is about: how to use
> this correctly?
> As far I understood I can define
> exitHTMLparser_rte.tags.math = 1 that rte stops processing content after
> reading <math>
> and with entryHTMLparser_rte.tags.math = 1 I can start it again...
>
> But this does not work.. defining this, all Tags beside the <math> Tag
> is cleared out.
>
> Any hints or probably clearing up my thoughts.
>
> kind regards
> Steffen
Hi Steffen,
I know searching for such stuff could be very difficult.
IIRC the transformation of & happens outside rte and depends on the
doctype you choose, sry for not locating the point.
btw - have a look to IE - hanbdling of those tags normally doesn't work
in IE6.
vg Steffen
More information about the TYPO3-dev
mailing list