Uploaded image for project: 'Markdown Syntax'
  1. Markdown Syntax
  2. MARKDOWN-89

Some wellfomed tables are not parsed correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.2
    • None
    • Unknown

    Description

      Reproduction steps

      1. Create a page with syntax markdown.
      2. Add the following below in the page.
      3. save and view the page.
      | a | b  |
      | - |- |
      | c | d  |
      

      Expected

      A table with two cells is displayed.

      Actual

      The page displays:

      | a | b  | | - |- | | c | d  |
      

      Observations

      It seems mandatory to have three dashes to form a valid column for the current parser.
      The table definition below is parsed and rendered correctly, and adding more dashes works as well

      |  a  | b   |
      | --- | --- |
      |  c  | d   |
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: