Skip to content

Commit

Permalink
Add a missing newline after </pre>
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Dec 23, 2024
1 parent 0c5dad8 commit a2ab406
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ private String recipeDescriptor(JCTree.JCClassDecl classDecl, String defaultDisp
String commentText = comment.getText()
.replace("<p>", "")
.replace("<pre>{@code", "```java")
.replace("}</pre>", "```")
.replace("}</pre>", "```\n")
.replaceAll("(?s)\\{@\\S+\\s+(.*?)}", "`$1`")
.replace("\\", "\\\\")
.replace("\"", "\\\"")
Expand Down

0 comments on commit a2ab406

Please sign in to comment.