summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-26 00:27:30 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2008-03-26 00:27:30 +0000
commitf7e19a1aca9799830173db5a958922a8a48bfdb9 (patch)
treeaa240ea95c4e5cf5f4db279ead066a097834ca64
parenta5604d526ea006b1f8cb4c0b02b55547ba5dc405 (diff)
Removing the underscore from the tex escape list. Other chars need review.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2117 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/Form.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index 60752d22..0725005f 100755
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -1313,7 +1313,7 @@ sub format_string {
txt => [ '\n', '\r' ],
tex => [
quotemeta('\\'), '&', '\n', '\r',
- quotemeta('$'), '%', '_', '#',
+ quotemeta('$'), '%', '#',
quotemeta('^'), '{', '}', '<',
'>', '£'
]
@@ -1330,7 +1330,6 @@ sub format_string {
'&' => '\&',
quotemeta('$') => '\$',
'%' => '\%',
- '_' => '\_',
'#' => '\#',
quotemeta('^') => '\^\\',
'{' => '\{',