projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b9bad
)
add < and > to _latex_escape (khoff)
author
ivan
<ivan>
Thu, 28 Apr 2005 17:05:02 +0000
(17:05 +0000)
committer
ivan
<ivan>
Thu, 28 Apr 2005 17:05:02 +0000
(17:05 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
4c37e68
..
e49e0f2
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-1486,6
+1486,7
@@
sub print_pdf {
sub _latex_escape {
my $value = shift;
$value =~ s/([#\$%&~_\^{}])( )?/"\\$1". ( ( defined($2) && length($2) ) ? "\\$2" : '' )/ge;
+ $value =~ s/([<>])/\$$1\$/g;
$value;
}