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

HTML comment block is read back as an inline HTML macro merged into the previous paragraph in CommonMark Markdown 1.2

    XMLWordPrintable

Details

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

    Description

      When reading markdown/1.2 content containing an HTML comment block after a paragraph, e.g.:

      x
      
      <!--
      a
      
      b
      -->
      

      Expected: the comment is read back as a standalone html macro, separate from the paragraph.
      Actual: it's read back as an inline html macro, and rendering the result again gives

      x<!-- a  b -->

      in the same paragraph.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: