From 74a0c96db07a3bef246bcc197cbe545b2a1eeee7 Mon Sep 17 00:00:00 2001 From: Pedro Furlanetto Date: Tue, 5 Oct 2010 01:43:45 +0000 Subject: Checkes the size of the author list properly --- src/compiler/scala/tools/nsc/doc/html/page/Template.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala index 18d8a99622..362dcbe47d 100644 --- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala +++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala @@ -339,7 +339,7 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage { else NodeSeq.Empty } - { if(!comment.since.isEmpty && !isReduced) + { if(!comment.authors.isEmpty && !isReduced)
    authors { val authors:List[scala.xml.NodeSeq]=for(body <- comment.authors) yield
  1. {bodyToHtml(body)}
  2. authors.reduceLeft(_ ++ Text(", ") ++ _) -- cgit v1.2.3