Skip to content

Commit

Permalink
make examples always start newline if there is other content before t…
Browse files Browse the repository at this point in the history
…he example (#294)
  • Loading branch information
antonwiens authored and RobWin committed Dec 8, 2017
1 parent 569f3c0 commit 8e22dd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public MarkupDocBuilder apply(MarkupDocBuilder markupDocBuilder, Parameters para
}

if (optionalExample.isPresent()) {
if (isNotBlank(description) || optionalDefaultValue.isPresent()) {
if (isNotBlank(descriptionContent.toString())) {
descriptionContent.newLine(true);
}

Expand Down

0 comments on commit 8e22dd8

Please sign in to comment.