How can I escape the @ symbol in javadoc? I am trying to use it inside a {@code} tag which is inside pre tags. I already tried the html escape & #64; sequence but that didn't work.
yes- when I do that the slash is shown - \@
JayL
2010-02-18 17:43:20
@JayL: It's not a slash, it's a *backslash*. Not that I think that's why it didn't work. :-)
T.J. Crowder
2010-02-18 17:46:23
ok, ok - the backslash is shown :)
JayL
2010-02-18 17:59:29
A:
Hey! Thank you for your answers.
Just to add a side note to the problem:
If you want to keep the identation from going away when you see your javadoc in a browser, instead of using the {@code }
block you must use <pre> {@code } </pre>
.
CumpZ
João Dias Amaro
2010-10-05 01:24:22