I came across the need to store HTML in foot note text - for example if a footnote needs to contain a URL, emphasis, or a line break. This patch stores text as HTML inside the <fn> element, which seems to work and is still eventually filtered based on the text format, so I don't think it opens up any security issues.

What do you think?

CommentFileSizeAuthor
footnotes-allow-html.patch1.06 KBsamuel.mortenson

Comments

samuel.mortenson created an issue. See original summary.

hingo’s picture

Just as a clarification to readers: Footnotes core functionality supports HTML and any other markup, as it will just be passed through. This patch is for the ckeditor widget.

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

pifagor’s picture

Status: Reviewed & tested by the community » Fixed
emilie.viau’s picture

Will this patch be natively included in the next version of Footnotes?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.