Hello,
I just updated XWiki (by fresh install) from 1.8.2 to 1.8.3 and
following velocity code renders differently:
{{velocity}}
#foreach( $attachment in $doc.getAttachmentList() )
* [[$attachment.getFilename()>>attach:$attachment.getFilename()]] :
{{code language=clojure}}
$attachment.getContentAsString()
{{/code}}
#end
{{/velocity}}
The intention of the macro is to render all attachments as code.
In 1.8.2, I get one box per code attachment as expected, in 1.8.3 it
looks that it renders each line of the attachment (one box per line of
the code).
Any ideas how I can fix this?
Kind regards,
Vlad