Skip to content

Commit

Permalink
[hotfix][docs] Add space in self-closing linebreak tag
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Feb 12, 2019
1 parent d1b1317 commit 0c90f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected void formatLink(StringBuilder state, String link, String description)

@Override
protected void formatLineBreak(StringBuilder state) {
state.append("<br/>");
state.append("<br />");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void testDescriptionWithLineBreak() {
String formattedDescription = new HtmlFormatter().format(description);

assertEquals(
"This is first line.<br/>This is second line.",
"This is first line.<br />This is second line.",
formattedDescription);
}

Expand Down

0 comments on commit 0c90f25

Please sign in to comment.