5

I wrote a comment like this:

/** Blah blah blah.
  *
  * {{{
  * class MyAppServlet extends ControllerServlet {
  *   routes.publishWithReflection("/main", MainController)
  *   routes.publishWithReflection("/foo", FooController)
  * }
  * }}}
  *
  * Blah blah blah
  */

I want the code to indent, but here's what the generated HTML looks like:

enter image description here

Is this a bug, or ... ? I'm using Scala 2.11.0.

Rob N
  • 15,024
  • 17
  • 92
  • 165

1 Answers1

1

Unfortunately there is a bug in the scaladoc generator which makes proper indenting not possible. The bug was found and is solved in pull request https://github.com/scala/scala/pull/3951. There may be no backport to Scala 2.10 though.

Erik van Oosten
  • 1,541
  • 14
  • 16