mirror of
https://github.com/xoofx/markdig.git
synced 2026-11-16 09:20:40 +00:00
fix newlines after links
This commit is contained in:
@@ -14,6 +14,16 @@ Quoteblocks may have different syntactical characters applied per line. That is,
|
||||
## Lists
|
||||
- beforewhitespace on list item
|
||||
|
||||
## Trivia
|
||||
- whitespace
|
||||
- ` ` (space)
|
||||
- `\t`
|
||||
- `\f`
|
||||
- `\v`
|
||||
- trailing `#`
|
||||
- TODO: ThematicBreak
|
||||
- TODO: link url `>`, link title `(`, `'`, `"`
|
||||
|
||||
# TODO
|
||||
In order:
|
||||
- ~~`p\n p`: affects many tests~~
|
||||
|
||||
@@ -285,7 +285,7 @@ namespace Markdig.Parsers
|
||||
else
|
||||
{
|
||||
var newline = leafBlock.Newline;
|
||||
container.AppendChild(new LineBreakInline { Newline = newline });
|
||||
leafBlock.Inline.AppendChild(new LineBreakInline { Newline = newline });
|
||||
}
|
||||
|
||||
Inline = null;
|
||||
|
||||
Reference in New Issue
Block a user