summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')
);