Skip to content

Commit 65d0acd

Browse files
authored
Add 2 LF at the end of Markdown blockquotes (#427)
When they weren't headers, the lines following a bloquote are considered as if they were part of the blockquote
1 parent d57a8c7 commit 65d0acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/openapitools/openapidiff/core/output/MarkdownRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ protected String blockquote(String beginning) {
528528

529529
protected String blockquote(String beginning, String text) {
530530
String blockquote = blockquote(beginning);
531-
return blockquote + text.trim().replace("\n", "\n" + blockquote) + '\n';
531+
return blockquote + text.trim().replace("\n", "\n" + blockquote) + "\n\n";
532532
}
533533

534534
protected String type(Schema<?> schema) {

0 commit comments

Comments
 (0)