Open Bistard opened 3 weeks ago
I don't think there is a reason for it. If you would like to create a PR to make it consistent we could get it into the next major version. 😁👍
OK. In the next few days or weeks, I will look up the source code and try to make it consistent through a PR.
Marked version: 14.1.2
Describe the bug
Heading
Token (buggy)Heading
token with mutiple end-of-line characters does not tokenized intoSpace
token:But for other block-level tokens, two
\n
will be tokenized into aSpace
token:BlockQuote
TokenCodeBlock
TokenParagraph
TokenList
TokenExpected behavior
Why is the
Heading
token ending with two (or more)\n
not tokenized into a space token? Is this expected?Thank you for your response.