Skip to content

Commit

Permalink
added handling of null markup
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-kr committed Feb 7, 2022
1 parent 6233d7d commit 0862e81
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ public UnsafeMarkupFormatter() {

@Override
public void translate(String markup, Writer output) throws IOException {
output.write(markup);
if (markup != null) {
output.write(markup);
}
}

@Extension
Expand Down

0 comments on commit 0862e81

Please sign in to comment.