summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 04:12:52 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-13 04:12:52 +0000
commite720eda200f1f6aa2bc727ef6c794bbcbd2e7c6a (patch)
tree03927915697ba6657e90799a4691512507c74a00
parent13dc23bc08d2dd51846b0f71381743f31049ffdb (diff)
Fixed $ substitution in format_line
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@205 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Form.pm2
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 => { '<' => '&lt;', '>' => '&gt;','\n' => '<br />',
'\r' => '<br />' },
txt => { '\n' => "\n", '\r' => "\r" },
- tex => {'&' => '\&', '\$' => '\$', '%' => '\%', '_' => '\_',
+ tex => {'&' => '\&', '$' => '\$', '%' => '\%', '_' => '\_',
'#' => '\#', quotemeta('^') => '\^\\', '{' => '\{',
'}' => '\}', '<' => '$<$', '>' => '$>$',
'\n' => '\newline ', '\r' => '\newline ',