From d4bab6d6ccea93a894f8fe0ef324886d3284ca67 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 14 Oct 2007 23:10:35 +0000 Subject: [PATCH] escape \dollar in invoice_latexnotes --- FS/FS/cust_bill.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index b9c0b5fb4..45648f1d4 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -2272,13 +2272,14 @@ sub print_html { } else { $invoice_data{'notes'} = join("\n", map { - s/%%(.*)$//; - s/\\section\*\{\\textsc\{(.)(.*)\}\}/

$1<\/font>\U$2<\/b>/; - s/\\begin\{enumerate\}/

    /; - s/\\item /
  1. /; - s/\\end\{enumerate\}/<\/ol>/; - s/\\textbf\{(.*)\}/$1<\/b>/; + s/%%(.*)$//g; + s/\\section\*\{\\textsc\{(.)(.*)\}\}/

    $1<\/font>\U$2<\/b>/g; + s/\\begin\{enumerate\}/

      /g; + s/\\item /
    1. /g; + s/\\end\{enumerate\}/<\/ol>/g; + s/\\textbf\{(.*)\}/$1<\/b>/g; s/\\\\\*/ /; + s/\\dollar ?/\$/g; $_; } $conf->config_orbase('invoice_latexnotes', $template) -- 2.11.0