[as2api-dev] White space before {@code}
David Holroyd
dave at badgers-in-foil.co.uk
Sun Feb 26 13:11:07 UTC 2006
On Sun, Feb 26, 2006 at 01:08:38PM +0100, Simon Wacker wrote:
> as2api adds a white-space before any {@code} inline-tag. For example
> "{@code ClassInfo}" generates "<code> ClassInfo</code>". Is this wanted?
It's not so much adding a space, as preserving the one that's there
immidiately after the "{@code" part.
I didn't think that it would matter much to the resulting formatting,
and since {@code} tags which cover multiple lines additionally get
wrapped in a <pre/>, leading space might sometimes be significant.
I guess the thing to do would be to strip whitespace off te ends of the
string if it's all on a single line anyway...
dave
--
http://david.holroyd.me.uk/
More information about the as2api-dev
mailing list