Skip to content

Comments in code blocks #118

Closed
Closed

Description

@supermueller

If a file with a comment in a code block is sompiled in version 6.3.2 of Markdown, the comment isn’t “masked“.

Markdown code:

Comment in code block
	
	<!-- this is a comment -->

Expected result:

<p>Comment in code block</p>

<pre><code>&lt;!-- this is a comment --&gt;
</code></pre>

Actual results:

<p>Comment in code block</p>

<pre><code><!-- this is a comment --></code></pre>

Activity

  1. added a commit that references this issue on Apr 15, 2018
    b3537b0
  2. fletcher commented on Apr 15, 2018

    @fletcher
    Owner

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions