diff options
author | alecpl <alec@alec.pl> | 2008-11-03 13:58:12 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-11-03 13:58:12 +0000 |
commit | 3d54e6e9b7f65dcb01688d3933f7c6e4aac25a18 (patch) | |
tree | 9e76cd7912196a334660a9194680f1397ff1fab6 | |
parent | 7f59c01a4594a03be81d266032d967a302cc6a85 (diff) |
r2032 fix: escape backslashes
-rw-r--r-- | program/include/main.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index 43a354919..21856bc80 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -349,6 +349,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE) $xml_rep_table['"'] = '"'; $js_rep_table['"'] = '\\"'; $js_rep_table["'"] = "\\'"; + $js_rep_table["\\"] = "\\\\"; } // encode for XML |