X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=e49e0f2c6e1ef473e964e6242c794fe26f0b4296;hb=d953e47858164395a6a8607981eabc91ee2a6765;hp=4c37e68b25be4916e6366ac58933824758f94c28;hpb=d33015393db77e9bc8e0deeb1a39500b3b5a49eb;p=freeside.git diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 4c37e68b2..e49e0f2c6 100644 --- 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; }