This issue has been created
There are 2 updates.
 
 
Markdown Syntax / cid:jira-generated-image-avatar-bc8218a7-242b-4be1-a6c1-4b3924793f1a MARKDOWN-153 Open

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

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ab0d9b43-691b-43ba-a6f8-9f515bc1d9a5 Vincent Massol created this issue on 05/Nov/26 22:09
 
Summary: HTML comment block is read back as an inline HTML macro merged into the previous paragraph in CommonMark Markdown 1.2
Issue Type: cid:jira-generated-image-avatar-bc8218a7-242b-4be1-a6c1-4b3924793f1a Bug
Affects Versions: 8.9.1
Assignee: Unassigned
Components: markdown/1.2
Created: 05/Nov/26 22:09
Priority: cid:jira-generated-image-static-major-f8313b2c-77c9-421b-ad49-591fda49d530 Major
Reporter: Vincent Massol
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.

 
 

2 updates

 
cid:jira-generated-image-avatar-ab0d9b43-691b-43ba-a6f8-9f515bc1d9a5 Changes by Vincent Massol on 05/Nov/26 22:09
 
Fix Version: 8.10.0
Assignee: Vincent Massol