You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the behaviour is not consistent though. In some of our markdown files (with more code blocks and heavier markup) this behaviour is shown, and in others (usually lighter markup) it works as expected. I'll update here when I know more
Allright, I've finally narrowed a reproducable setup.
So this:
Lorem_ipsum dolor sit amet, __consectetur adipisicing__ elit. Voluptatem a __ea voluptas nihil__ error modi.
Lorem_ipsum dolor sit amet, **consectetur adipisicing** elit. Voluptatem a **ea voluptas nihil** error modi.
Should result in this:
Lorem_ipsum dolor sit amet, consectetur adipisicing elit. Voluptatem a ea voluptas nihil error modi.
Lorem_ipsum dolor sit amet, consectetur adipisicing elit. Voluptatem a ea voluptas nihil error modi.
(e.g. identical, docs)
But instead it results in this:
Reproduce steps
input.md:
Lorem_ipsum dolor sit amet, __consectetur adipisicing__ elit. Voluptatem a __ea voluptas nihil__ error modi.
Lorem_ipsum dolor sit amet, **consectetur adipisicing** elit. Voluptatem a **ea voluptas nihil** error modi.
run marked:
marked -i input.md -o output.html
output.html
<p>Lorem<em>ipsum dolor sit amet, <strong>consectetur adipisicing</strong> elit. Voluptatem a <em>_ea voluptas nihil</em></em> error modi.</p><p>Lorem_ipsum dolor sit amet, <strong>consectetur adipisicing</strong> elit. Voluptatem a <strong>ea voluptas nihil</strong> error modi.</p>
Activity
javoire commentedon Sep 22, 2014
Also, this


becomes
Should be:
Fix hack (one back slash):


javoire commentedon Sep 22, 2014
lastly:


becomes:
Fix hack (two backslashes):
cheers!
javoire commentedon Sep 22, 2014
the behaviour is not consistent though. In some of our markdown files (with more code blocks and heavier markup) this behaviour is shown, and in others (usually lighter markup) it works as expected. I'll update here when I know more
javoire commentedon Sep 22, 2014
Allright, I've finally narrowed a reproducable setup.
So this:
Should result in this:
Lorem_ipsum dolor sit amet, consectetur adipisicing elit. Voluptatem a ea voluptas nihil error modi.
Lorem_ipsum dolor sit amet, consectetur adipisicing elit. Voluptatem a ea voluptas nihil error modi.
(e.g. identical, docs)
But instead it results in this:

Reproduce steps
Cheers
javoire commentedon Sep 22, 2014
This one also produces wrong output:
in
out
notatestuser commentedon Sep 29, 2014
I have one too:
while this is correct
$ marked {{some_test_thing}} <p>{{some_test_thing}}</p>this is not
$ marked {{some_test_thing}} _another_ thing <p>{{some<em>test_thing}} _another</em> thing</p>Feder1co5oave commentedon Jan 25, 2018
Can't reproduce this at 33b444c
edit: I can reproduce this though.
joshbruce commentedon Apr 13, 2018
Closing as I believe this will be fixed via spec-compliance. See #1106 and #1216