-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Hashtags should be removed from output #3048
Copy link
Copy link
Closed
Labels
L2 - annoyingSimilar to L1 - broken but there is a known workaround available for the issueSimilar to L1 - broken but there is a known workaround available for the issuecategory: headings
Description
Marked version:
9.1.2
Describe the bug
The following content
Hashtags test
####
End of test
Is being parsed as
<p>Hashtags test<br>####<br>End of test</p>Every other Markdown parser I tested will not output hashtags, so something like this is expected
<p>Hashtags test<br><br>End of test</p>To Reproduce
marked.parse('Hashtags test\n####\nEnd of test')Expected behavior
Expected output is one that is produced by commonmark.js
Hashtags test
End of test
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
L2 - annoyingSimilar to L1 - broken but there is a known workaround available for the issueSimilar to L1 - broken but there is a known workaround available for the issuecategory: headings