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

Headings located inside list items or quotations are rendered incorrectly 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 heading located inside a list item or a quotation produces wrong Markdown:

      • a heading in a list item (- # One in Markdown) is rendered as * }} followed by {{# One on its own line, so the heading moves out of the list item;
      • a heading in a quotation loses its > prefix, so it moves out of the quotation.

      Expected

      The heading stays in its container, e.g. * # One and > # Title.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: