XWIKI-11390: Rendering errors are displayed inline, making them unreadable.

(cherry picked from commit 427cc105da835c4f7f8ab702ea768f6730a8e813)