diff options
| author | ivan <ivan> | 2007-10-14 23:10:44 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2007-10-14 23:10:44 +0000 | 
| commit | e47e006c4316c4f4419cc8243ab7c41e096573ca (patch) | |
| tree | 859803a58e14c1001d144e1ea5abd30df48fb661 | |
| parent | fca4f67925d3d3e9e7a3eacc5df3a1b2a9f6c241 (diff) | |
escape \dollar in invoice_latexnotes
| -rw-r--r-- | FS/FS/cust_bill.pm | 13 | 
1 files changed, 7 insertions, 6 deletions
| diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index ace853356..0512d3bf4 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2208,13 +2208,14 @@ sub print_html {    } else {      $invoice_data{'notes'} =         join("\n", map {  -                       s/%%(.*)$/<!-- $1 -->/; -                       s/\\section\*\{\\textsc\{(.)(.*)\}\}/<p><b><font size="+1">$1<\/font>\U$2<\/b>/; -                       s/\\begin\{enumerate\}/<ol>/; -                       s/\\item /  <li>/; -                       s/\\end\{enumerate\}/<\/ol>/; -                       s/\\textbf\{(.*)\}/<b>$1<\/b>/; +                       s/%%(.*)$/<!-- $1 -->/g; +                       s/\\section\*\{\\textsc\{(.)(.*)\}\}/<p><b><font size="+1">$1<\/font>\U$2<\/b>/g; +                       s/\\begin\{enumerate\}/<ol>/g; +                       s/\\item /  <li>/g; +                       s/\\end\{enumerate\}/<\/ol>/g; +                       s/\\textbf\{(.*)\}/<b>$1<\/b>/g;                         s/\\\\\*/ /; +                       s/\\dollar ?/\$/g;                         $_;                       }                        $conf->config_orbase('invoice_latexnotes', $template) | 
