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

Lists and quotations located in a table cell are not preserved in CommonMark Markdown 1.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 8.10.0
    • 8.9.1
    • markdown/1.2
    • None
    • Unknown

    Description

      Markdown table cells can only contain inline content, so block content located in a table cell is rendered as text separated by line breaks (<br/>) when rendering to markdown/1.2. Some of this content isn't preserved or isn't stable:

      • a list in a cell is rendered as "* item" text, which is escaped as "\* item" on the next conversion
      • nested lists in a cell lose their nesting
      • the lines of a quotation in a cell are joined
      • a list item followed by a quotation in a cell loses the separator between them ("a" and "q" become "aq")

      Example (xwiki/2.1):

      |(((
      * a
      ** b
      
      > q1
      > q2
      )))|c
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: