diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 65e352e6..6f3c747e 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -1152,7 +1152,7 @@ sub format_string { html => { '<' => '<', '>' => '>','\n' => '<br />', '\r' => '<br />' }, txt => { '\n' => "\n", '\r' => "\r" }, - tex => {'&' => '\&', '\$' => '\$', '%' => '\%', '_' => '\_', + tex => {'&' => '\&', '$' => '\$', '%' => '\%', '_' => '\_', '#' => '\#', quotemeta('^') => '\^\\', '{' => '\{', '}' => '\}', '<' => '$<$', '>' => '$>$', '\n' => '\newline ', '\r' => '\newline ', |