fix newlines after links

This commit is contained in:
Ruud Poutsma
2020-10-18 22:40:17 +02:00
parent c5b260f708
commit cd798b8d95
2 changed files with 11 additions and 1 deletions

View File

@@ -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~~

View File

@@ -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;