Index: utils/dartdoc/comment_map.dart |
diff --git a/utils/dartdoc/comment_map.dart b/utils/dartdoc/comment_map.dart |
index cfd633f8734cc751d0b6a24aefd0e3cfb102a179..fea4e56bc1f0f23c75232ceaea36394825075443 100644 |
--- a/utils/dartdoc/comment_map.dart |
+++ b/utils/dartdoc/comment_map.dart |
@@ -102,7 +102,7 @@ class CommentMap { |
stripComment(String comment) { |
StringBuffer buf = new StringBuffer(); |
- for (final line in comment.split('\n')) { |
Siggi Cherem (dart-lang)
2012/02/23 23:15:47
wow... if you haven't, let's make sure we add a bu
Bob Nystrom
2012/02/23 23:54:38
Done. http://code.google.com/p/dart/issues/detail?
|
+ for (var line in comment.split('\n')) { |
line = line.trim(); |
if (line.startsWith('/**')) line = line.substring(3); |
if (line.endsWith('*/')) line = line.substring(0, line.length - 2); |