freeside/FS/FS cust_bill.pm,1.108,1.109

ivan ivan at pouncequick.420.am
Thu Apr 28 10:05:06 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv26997

Modified Files:
	cust_bill.pm 
Log Message:
add < and > to _latex_escape (khoff)

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- cust_bill.pm	14 Apr 2005 09:41:40 -0000	1.108
+++ cust_bill.pm	28 Apr 2005 17:05:02 -0000	1.109
@@ -1486,6 +1486,7 @@
 sub _latex_escape {
   my $value = shift;
   $value =~ s/([#\$%&~_\^{}])( )?/"\\$1". ( ( defined($2) && length($2) ) ? "\\$2" : '' )/ge;
+  $value =~ s/([<>])/\$$1\$/g;
   $value;
 }
 




More information about the freeside-commits mailing list