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 space token is used in places where it is needed. For example if two paragraphs are next to each other they become one paragraph token unless there is a blank line (space token) between them.
If you want to create a PR to add space tokens after each block token that would be fine, but I think it will be a breaking change.
Marked version:
11.1.1
Describe the bug
When using the lexer it seems to leave newlines at the end of some tokens instead of tokenizing them
To Reproduce
Input (hr):
Output (hr):
and input (blockquote):
Output (blockquote):
For both of these examples you can see that the 2 newlines are being ignored and not tokenized by the lexer.
This is with
gfm: true
andbreaks: true
Expected behavior
For hr input:
For blockquote input:
The text was updated successfully, but these errors were encountered: