[freeside-commits] freeside/FS/FS cust_bill.pm, 1.163.2.9, 1.163.2.10
Ivan,,,
ivan at wavetail.420.am
Sun Oct 14 16:10:46 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv17626
Modified Files:
Tag: FREESIDE_1_7_BRANCH
cust_bill.pm
Log Message:
escape \dollar in invoice_latexnotes
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.163.2.9
retrieving revision 1.163.2.10
diff -u -d -r1.163.2.9 -r1.163.2.10
--- cust_bill.pm 19 Sep 2007 00:12:08 -0000 1.163.2.9
+++ cust_bill.pm 14 Oct 2007 23:10:44 -0000 1.163.2.10
@@ -2208,13 +2208,14 @@
} 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)
More information about the freeside-commits
mailing list