From f7e19a1aca9799830173db5a958922a8a48bfdb9 Mon Sep 17 00:00:00 2001 From: tetragon Date: Wed, 26 Mar 2008 00:27:30 +0000 Subject: 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 --- LedgerSMB/Form.pm | 3 +-- 1 file changed, 1 insertion(+), 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('^') => '\^\\', '{' => '\{', -- cgit v1.2.3