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

Definition description with several paragraphs located in a list item breaks the 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 a list item containing a definition list whose description has several paragraphs, e.g. xhtml/1.0:

      <ul><li><dl><dt>t</dt><dd><p>p1</p><p>p2</p></dd><dd>x</dd></dl></li></ul>
      

      Expected: the list item, the definition list and its two descriptions are read back as they were.
      Actual: a <div> is written at column 0, which ends the list item, and the following content becomes a new list item starting with {{: }}.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: