Skip to content

Commit

Permalink
Add 2 LF at the end of Markdown blockquotes (#427)
Browse files Browse the repository at this point in the history
When they weren't headers, the lines following a bloquote are considered as if they were part of the blockquote
  • Loading branch information
bbenoist committed Oct 24, 2022
1 parent d57a8c7 commit 65d0acd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ protected String blockquote(String beginning) {

protected String blockquote(String beginning, String text) {
String blockquote = blockquote(beginning);
return blockquote + text.trim().replace("\n", "\n" + blockquote) + '\n';
return blockquote + text.trim().replace("\n", "\n" + blockquote) + "\n\n";
}

protected String type(Schema<?> schema) {
Expand Down

0 comments on commit 65d0acd

Please sign in to comment.