mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: handle newline in block parsers
This commit is contained in:
@@ -20,6 +20,12 @@ func TestHorizontalRuleParser(t *testing.T) {
|
||||
Symbol: "-",
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "---\naaa",
|
||||
horizontalRule: &ast.HorizontalRule{
|
||||
Symbol: "-",
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "****",
|
||||
horizontalRule: nil,
|
||||
|
Reference in New Issue
Block a user