We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5beb668 commit 4ad8e54Copy full SHA for 4ad8e54
tastydoc/src/dotty/tastydoc/comment/CommentCleaner.scala
@@ -18,7 +18,7 @@ trait CommentCleaner {
18
val javadoclessComment = JavadocTags.replaceAllIn(safeComment, { javadocReplacement(_) })
19
val markedTagComment =
20
SafeTags.replaceAllIn(javadoclessComment, { mtch =>
21
- Matcher.quoteReplacement(safeTagMarker + mtch.matched + safeTagMarker)
+ Matcher.quoteReplacement(s"$safeTagMarker${mtch.matched}$safeTagMarker")
22
})
23
markedTagComment.linesIterator.toList map (cleanLine)
24
}
0 commit comments