diff --git a/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java b/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java index 5cf8c2ffa..f9a399b53 100644 --- a/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java +++ b/core/src/test/java/com/google/googlejavaformat/java/JavadocFormattingTest.java @@ -1774,4 +1774,55 @@ class Test {} """; doFormatTest(input, expected); } + + // TODO: b/346668798 - Test the following Markdown constructs, and make the tests work as needed. + // We can assume that the CommonMark parser correctly handles Markdown, so the question is whether + // they are subsequently mishandled by our formatting logic. So for example the CommonMark parser + // already recognizes
...
and doesn't look for Markdown constructs within such a block, + // so we should not need to check that that is handled correctly, given that we already check + //
 handling elsewhere. On the other hand, if we don't handle Markdown code spans (`...`)
+  // correctly then we might incorrectly recognize HTML tags like `