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

Unclosed table cells leave the parser in a bad state, ignoring further syntax

    XMLWordPrintable

Details

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

    Description

      When there is additional content after the last table cell, the parser doesn't close the table and continues to ignore formatting. Reproduction test case:

      .#-----------------------------------------------------
      .input|dokuwiki/1.0
      .#-----------------------------------------------------
      ^Title^
      | content | extra
      
      ===== A heading =====
      .#-----------------------------------------------------
      .expect|event/1.0
      .#-----------------------------------------------------
      beginDocument
      beginTable
      beginTableRow
      beginTableHeadCell
      onWord [Title]
      endTableHeadCell
      endTableRow
      beginTableRow
      beginTableCell [[align]=[centre]]
      onWord [content]
      endTableCell [[align]=[centre]]
      beginTableCell [[align]=[right]]
      onWord [extra
      
      =====]
      onSpace
      onWord [A]
      onSpace
      onWord [heading]
      onSpace
      onWord [====]
      endTableCell [[align]=[right]]
      endTableRow
      endTable
      endDocument 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: