I have a comment that contains an example Java servlet configuration. It looks like:
/** Blah blah blah...
*
* {{{
* <servlet-mapping>
* <servlet-name>MyAppServlet</servlet-name>
* <url-pattern>/app/*</url-pattern>
* </servlet-mapping>
* }}}
The /*
in the comment creates a nested block comment in Scala and that seems to confuse the scaladoc tool. Is there a way to escape /*
in a block comment? Or another way to display that text?
Someone suggested using the entity / for the slash, but entities don't work inside the {{{ }}} code block.
This is all I could figure out:
/** Blah blah blah...
*
* <pre>
* <servlet-mapping>
* <servlet-name>MyAppServlet</servlet-name>
* <url-pattern>/app/*</url-pattern>
* </servlet-mapping>
* </pre>
*/
Ugly, but works...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With