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

Consecutive definition lists are merged into a single definition list in CommonMark Markdown 1.2

    XMLWordPrintable

Details

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

    Description

      When rendering to markdown/1.2 two consecutive definition lists, e.g. xhtml/1.0:

      <dl><dt>t</dt><dd>d</dd></dl><dl><dt>u</dt><dd>e</dd></dl>
      

      the output is:

      t
      :   d
      
      u
      :   e
      

      Expected: reading the output back gives two definition lists (as for bulleted and numbered lists, see MARKDOWN-146).
      Actual: it's read back as a single definition list. Same at the top level and inside list items.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: