diff options
Diffstat (limited to 'doc-tool/src/dotty/tools/dottydoc/model')
-rw-r--r-- | doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala | 2 | ||||
-rw-r--r-- | doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala index 27b0ff977..30b3b0de0 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentCleaner.scala @@ -20,6 +20,6 @@ trait CommentCleaner { SafeTags.replaceAllIn(javadoclessComment, { mtch => _root_.java.util.regex.Matcher.quoteReplacement(safeTagMarker + mtch.matched + safeTagMarker) }) - markedTagComment.lines.toList map (cleanLine(_)) + markedTagComment.lines.toList map (cleanLine) } } diff --git a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala index 2d75b0c66..faefd19a7 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/comment/CommentRegex.scala @@ -11,7 +11,7 @@ object Regexes { * one leading whitespace and all trailing whitespace */ val CleanCommentLine = - new Regex("""(?:\s*\*\s?)?(.*)""") + new Regex("""(?:\s*\*\s?\s?)?(.*)""") /** Dangerous HTML tags that should be replaced by something safer, * such as wiki syntax, or that should be dropped |