summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-05-14 17:59:29 +0000
committerivan <ivan>2005-05-14 17:59:29 +0000
commit167f7cf57da2558db8e1b17ea16694374693e2c0 (patch)
tree0ea8d71f7de958d543245c090ba24c83133638d9
parentdf185d34f354c5788e8c4693182b7689a3333839 (diff)
well this is sorta halfass anyway but useful
-rw-r--r--FS/FS/cust_bill.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index d649770c7..73177862d 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1699,7 +1699,12 @@ sub print_html {
$invoice_data{'returnaddress'} = $conf->exists('invoice_htmlreturnaddress')
? join("\n", $conf->config('invoice_htmlreturnaddress') )
- : join("\n", map { s/~/&nbsp;/g; s/\\\\\*?\s*$/<BR>/; $_; }
+ : join("\n", map {
+ s/~/&nbsp;/g;
+ s/\\\\\*?\s*$/<BR>/;
+ s/\\hypenation\{[\w\s\-]+\}//;
+ $_;
+ }
$conf->config('invoice_latexreturnaddress')
);