roycezhc / doclava

Automatically exported from code.google.com/p/doclava
Apache License 2.0
0 stars 0 forks source link

@literal fails if no space is between the @literal & the literal #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For example, "{@literal<}V, B>" should render as "<V, B>" (that's how it works 
with Eclipse's javadoc, at least).  conversely, using "{@literal <}V, B>" (a 
space before the literal) causes Eclipse's javadoc to render " <V, B>" (with a 
space before the < -- it literally writes everything between "@literal" and 
"}", so it's not a good workaround.  (using &lt; is a valid workaround, though.)

see 
http://google-guice.googlecode.com/svn/trunk/javadoc/com/google/inject/spi/Provi
derWithExtensionVisitor.html for an example.

Original issue reported on code.google.com by sberlin on 5 Oct 2010 at 3:31