tagnote-app / dart_markdown

A portable Markdown library written in Dart. It can parse Markdown to AST and render to HTML on both the client and server.

Home Page:https://markdown.tagnote.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect output when paragraph is disabled

chenzhiguang opened this issue · comments

  const text = '''
> Hello
> world!
''';

print(markdownToHtml(
  text,
  enableParagraph: false,
));

the output is incorrect:

<blockquote>Hello

</blockquote>

The correct output should be:

<blockquote>Hello
world!
</blockquote>