Skip to content

Fix angle brackets vs. CKEditor #14

Description

@olafgrabienski

Footnotes is supposed to allow the use of [fn]square brackets[/fn] and <fn>angle brackets</fn> shortcodes.

On my testing site, I can use square brackets without any issue. When I use angle brackets, the shortcode isn't be displayed, instead of a footnote I see the shortcode on the page. When I edit the page and switch the editor to Source code, I see that the angle bracket short code is converted to something like &lt;fn&gt;My footnote text.&lt;/fn&gt;.

First I thought it was an issue with the ordering of filters in the text format configuration. From Drupal I know, that Footnotes was designed so that it should run before HTML filter, and that's the case on my testing site. I've no idea at the moment why the angle brackets don't work.

Update: The angle brackets syntax works generally, but it does not work when CKEditor is enabled in the text format configuration. Using CKEditor is a very common use case though, so we should try to fix the issue anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions