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
>marked('`` ` ``');'<p><code>`</code></p>\n'>marked('``There is a literal backtick (`) here.``')'<p><code>There is a literal backtick (`) here.</code></p>\n'>marked('A backtick-delimited string in a code span: `` `foo` ``')'<p>A backtick-delimited string in a code span: <code>`foo`</code></p>\n'>marked("Please don't use any `<blink>` tags.")'<p>Please don't use any <code><blink></code> tags.</p>\n'
To begin, many thanks @Feder1co5oave, your diff totally solves the issue.
I was now looking to add a test for this like you were suggesting but it's not actually possible since all the whitespaces are removed. Anyway, do you think it worths merging your patch in master? Do you want me to make a PR or something?
Activity
Feder1co5oave commentedon Dec 30, 2013
this seems to solve
maybe add a test for this?
valeriangalliat commentedon Oct 18, 2014
Hi,
Sorry I totally forgot about this issue.
To begin, many thanks @Feder1co5oave, your diff totally solves the issue.
I was now looking to add a test for this like you were suggesting but it's not actually possible since all the whitespaces are removed. Anyway, do you think it worths merging your patch in
master? Do you want me to make a PR or something?Otherwise I think we can close. :)
fix backticks in inline code (fixes markedjs#312)
Feder1co5oave commentedon Oct 18, 2014
Thanks for bringing this up again, I think it's worth merging.
Merge pull request #1 from F1LT3R/backticks-test
xovel commentedon Jun 16, 2016
Oh, great, THX!
But it seems that this bug has not been fixed yet.
fix backticks in inline code (fixes markedjs#312)
Merge pull request #1013 from Feder1co5oave/fix-backticks2
update `marked` version to 0.3.14
fix backticks in inline code (fixes markedjs#312)
Merge pull request markedjs#1013 from Feder1co5oave/fix-backticks2