Skip to content

Commit

Permalink
Add test for github issue #3340
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume authored and Guillaume committed Nov 29, 2024
1 parent 352a0aa commit ec083b8
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7813,4 +7813,18 @@ public void testIssue2127b() {
""",
CodeFormatter.K_MODULE_INFO | CodeFormatter.F_INCLUDE_COMMENTS);
}

public void testBugGh3340() throws JavaModelException {
String source = "/**<pre><code>a\n b</code></pre>*/";
formatSource(source,
"/**\n" +
" * <pre>\n" +
" * <code>a\n" +
" b</code>\n" +
" * </pre>\n" +
" */",
CodeFormatter.K_JAVA_DOC
);
}

}

0 comments on commit ec083b8

Please sign in to comment.