Description
A backslash in XWiki syntax is currently translated to \$\backslash\$ which makes the XeLaTeX compiler of my MikTex distribution complain:
! Missing $ inserted. <inserted text> $
I think the $s shouldn't be escaped. So the LaTeX template SpecialSymbolBlock should be changed from
#elseif ($latex.block.getSymbol() == '\')
\$\backslash\$##
to
#elseif ($latex.block.getSymbol() == '\')
$\backslash$##
or even better, without entering math mode
#elseif ($latex.block.getSymbol() == '\')
\textbackslash{}##