Hello Thomas,
The difference is that in 1.8.2 there was a bug in
macro parsing which
did not matched correctly inline macros based on the general xwiki
parser rule...
(snipped)
What append in your case is that all your codes macro
was matched as
inline and got rendered as a list a followed <span class="code"> which
looks like one big box even it's not really one.
Thank you for detailed explanation, it makes sense (the code macro
renders differently depending on the enclosing context).
Kind regards,
Vlad