[TYPO3-rte] Footnotes custom tags work - but not in <li></li> ... why?!

Stanislas Rolland typo3 at sjbr.ca
Mon Oct 12 19:03:56 CEST 2009


Hi Jochen,
> 
> I'm about to create a nice footnote-Extension that also should be 
> published when finished.
> 
> It's based on the nice custom tags feature and some TS magic.
> 
> However ... there seems to be a problem (at least I could not find the 
> right way to do it) when inserting the custom tag within an unordered 
> list. The structure would look like:
> 
> <p>This footnote <fn>test one two</fn> works fine</p>
> <ul><li>And this one <fn>xyz 123</fn> will be specialchared in db</li></ul>
> 
> With a debugger I stepped through functions of t3lib_parsehtml_proc that 
> seemed relevant to me. But somehow the transformation to the HTML 
> entities happens before that... where could that be?!
> 
> So ... in DB (and also already within the PHP proc funcs) my custom tags 
> looks like: &lt;fn&gt;
> 
Are you sure this happens only within lists?

You need the following lines in Page TSConfig:

RTE.default.proc.allowTags := addToList(fn)
RTE.default.proc.entryHTMLparser_db.allowTags := addToList(fn)

Regards,
Stanislas


More information about the TYPO3-project-rte mailing list