[TYPO3-rte] Using custom tag with paragraphs enclosed

Stanislas Rolland typo3 at sjbr.ca
Thu Aug 2 05:05:38 CEST 2012


Hi Christian,
> I have introduced a new custom tag to handle footnotes. Now, this works
> great in principle but I cant figure out how I would make it work with
> paragraphs in footnotes.
>
> Basically what I have in the RTE is code like
>
> <p>Lorem ipsum<fn>Praesent id.</fn>dolor sit amet,...</p>
>
> If I now try to make that
>
> <p>Lorem ipsum<fn><p>Aliquam sodales porta vulputate. Fusce commodo,
> justo tristique convallis suscipit, ligula mi fringilla augue, convallis
> tempus diam lorem id quam.</p>
> <p>Nunc risus erat, volutpat sit amet elementum sed, cursus at neque.
> Quisque sed neque mi./p></fn>dolor sit amet,...</p>

But this is not valid HTML. You cannot have a paragraph inside a paragraph.

Regards,
Stanislas


More information about the TYPO3-project-rte mailing list