-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A backtick in code in a link parses incorrectly #1663
Comments
Can I help to fix this? |
Of course! PRs are always welcome. |
I should have said: Can you please help me fix this? I’m new to the codebase and have no idea where to start. |
You will most likely have to change the regex for links in rules.js and update the link tokenizer in Tokenizer.js. If you have any questions about anything feel free to ask. |
I thought I’d have time to work on this, but I won’t. If someone else can take this, it’d be great 😃 |
Previously, when there as an inline code as a link label, it would only work if the backticks were single-opened and single-closed (as in 1 backtick opening the code block + 1 backtick closing the code block). Now one can use more than 1 backtick to open/close the inline code block as a link label. Closes markedjs#1663.
Hey guys, I got here by looking for projects to contribute to during the Hacktoberfest. I opened a pull request to address this issue: #1794. @UziTech, I updated the links in The PR passed all tests and I was looking where I could include a test case for this scenario of backticks in links. Is there a test file where this scenario could be added? |
|
Marked
CommonMark
It used to work in Marked 0.6.3
The text was updated successfully, but these errors were encountered: