[freeside-commits] freeside/FS/FS cust_bill.pm,1.176,1.177
Ivan,,,
ivan at wavetail.420.am
Sun Oct 14 16:10:38 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv17616
Modified Files:
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.176
retrieving revision 1.177
diff -u -d -r1.176 -r1.177
--- cust_bill.pm 19 Sep 2007 00:12:05 -0000 1.176
+++ cust_bill.pm 14 Oct 2007 23:10:35 -0000 1.177
@@ -2272,13 +2272,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