We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 strong tag containing a single newline character is not correctly parsed.
Newline Example:
** **
The AST should be parsed with an empty strong block.
The asterisks are interpreted as text themselves:
{ "type": "root", "children": [ { "type": "paragraph", "children": [ { "type": "text", "value": "**\n**" } ] } ] }
The text was updated successfully, but these errors were encountered:
Although some of our strong and emphasis parsing is broken, this is in fact expected behavior per CommonMark
Sorry, something went wrong.
I don‘t get strong emphasis here either:
(GFM is now based on CM)
I don‘t get strong emphasis here either: ** ** (GFM is now based on CM)
(yes, apologies, deleted my comment after doing a bit more testing - seems it only works in some editors but it's not a standard)
Fwiw, GFM is based on CM for the last two years. Some markdown parsers (like remark) are in a transitional phase. #439
No branches or pull requests
Subject of the issue
A strong tag containing a single newline character is not correctly parsed.
Your environment
Steps to reproduce
Newline Example:
Expected behaviour
The AST should be parsed with an empty strong block.
Actual behaviour
The asterisks are interpreted as text themselves:
The text was updated successfully, but these errors were encountered: