Uploaded image for project: 'DokuWiki tools'
  1. DokuWiki tools
  2. DOKUWIKI-29

Formatting breaks footnotes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 1.3.6
    • Syntax
    • None
    • Unknown

    Description

      When a footnote contains formatting (or probably any other kind of syntax), the parsed footnote starts only after the formatting.

      Failing test case with the expected behavior:

      .#-----------------------------------------------------
      .input|dokuwiki/1.0
      .#-----------------------------------------------------
      A((Footnote with **bold** formatting)) Test
      .#-----------------------------------------------------
      .expect|event/1.0
      .#-----------------------------------------------------
      beginDocument
      beginParagraph
      onWord [A]
      onMacroInline [foootnote] [] [Footnote with **bold** formatting]
      onSpace
      onWord [Test]
      endParagraph
      endDocument
      

      Actual result:

      beginDocument
      beginParagraph
      onWord [A]
      onWord [Footnote]
      onSpace
      onWord [with]
      onSpace
      beginFormat [BOLD]
      onWord [bold]
      endFormat [BOLD]
      onMacroInline [foootnote] [] [ formatting]
      onSpace
      onWord [Test]
      endParagraph
      endDocument
      

      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:
                Resolved: