summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorTobias Roeser <le.petit.fou@web.de>2019-02-11 21:27:35 +0100
committerTobias Roeser <le.petit.fou@web.de>2019-02-11 21:27:35 +0100
commitc29b678085b9417d55ea4e225786f99568cfeeb1 (patch)
tree0a4fdb8bf99482b1fec046fde0799ba0654b325c /main
parentb9de3ec501c8b6046ed9f69625d6f85aa6463a56 (diff)
downloadmill-c29b678085b9417d55ea4e225786f99568cfeeb1.tar.gz
mill-c29b678085b9417d55ea4e225786f99568cfeeb1.tar.bz2
mill-c29b678085b9417d55ea4e225786f99568cfeeb1.zip
Properly strip scaladoc end tags
Fixes https://github.com/lihaoyi/mill/issues/451
Diffstat (limited to 'main')
-rw-r--r--main/src/modules/Util.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/modules/Util.scala b/main/src/modules/Util.scala
index 029626fe..20f06d8f 100644
--- a/main/src/modules/Util.scala
+++ b/main/src/modules/Util.scala
@@ -14,6 +14,8 @@ object Util {
.stripPrefix("/**")
.stripPrefix("*/")
.stripPrefix("*")
+ .stripSuffix("**/")
+ .stripSuffix("*/")
.dropWhile(_.isWhitespace)
).toArray
.dropWhile(_.isEmpty)