summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index ac612cd06..aa6a60790 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -813,6 +813,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE)
if (!$js_rep_table)
{
$js_rep_table = $rtf_rep_table = $xml_rep_table = array();
+ $xml_rep_table['&'] = '&';
for ($c=160; $c<256; $c++) // can be increased to support more charsets
{