Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-705

Footnote macro produces inline content in standalone mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.10
    • Macro - Footnotes
    • None
    • Unknown

    Description

      Steps to reproduce:

      1. Create a new document and edit it in WYSIWYG mode
      2. Insert a footnote macro with some content (in an empty line/the empty document).

      Expected result:

      The footnote and the list of footnote are separate macro widgets and it is possible to insert text between them.

      Actual result:

      There is one big footnote macro widget displayed which is not editable. When you insert a paragraph after the footnote in the source view, this macro widget even encloses this paragraph.

      This is because the footnote macro produces a <sup>-tag that is auto-wrapped in a paragraph by CKEditor and this wrapping swallows the closing macro marker. The only "easy" solution seems to be to add a wrapping paragraph to the footnote macro output when it is used in standalone mode.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: