I'm having difficulty putting C/C++ code on an XWiki page:
{code}
#include <stdio.h>
{code}
or
{pre}
#include <stdio.h>
{/pre}
both result in exception stack trace in the web page.
When I try
{code}
\#include <stdio.h>
{code}
it works ok.
Escaping the #include with a backslash is an acceptable workaround in the
short term -- but shouldn't the {pre} or {code} tags disable the special
meaning of the # character?
Stephen