summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/Form.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 6f3c747e..be26daec 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1145,10 +1145,7 @@ sub format_string {
tex => [ quotemeta('\\'), '&', '\n','\r',
'\$', '%', '_', '#',
quotemeta('^'), '{', '}', '<', '>', '£'
- ],
- utf => [ quotemeta('\\'), '&', quotemeta('\n'),
- '\r', '\$', '%', '_', '#', quotemeta('^'),
- '{', '}', '<', '>' ] },
+ ] },
html => { '<' => '&lt;', '>' => '&gt;','\n' => '<br />',
'\r' => '<br />' },
txt => { '\n' => "\n", '\r' => "\r" },