-
Notifications
You must be signed in to change notification settings - Fork 156
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
message-parser: markdown link parsing is wrong #1131
Comments
paviad
changed the title
<Component Name>: <Short description>
markdown link parsing is wrong
Aug 12, 2023
paviad
changed the title
markdown link parsing is wrong
message-parser: markdown link parsing is wrong
Aug 12, 2023
There are many other things this grammar based parsing gets wrong... |
|
It turns out that in an attempt to accommodate these cases:
this commit broke the other case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Markdown parsing of links is wrong.
Steps to reproduce
This markdown source:
[Title 1] bla bla [Title 2](https://foo.com/title2)
should conver to the following html:But is actually converted to:
This is the test that (if added to
packages/message-parser/tests/link.test.ts
) would fail:And this would be the failure diff:
Insert an image/gif
The text was updated successfully, but these errors were encountered: