From d953e47858164395a6a8607981eabc91ee2a6765 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 28 Apr 2005 17:05:02 +0000 Subject: [PATCH] add < and > to _latex_escape (khoff) --- FS/FS/cust_bill.pm | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.11.0