have \& in invoice_latexreturnaddress translate to & in HTML, RT#4426
authorivan <ivan>
Mon, 22 Dec 2008 00:46:48 +0000 (00:46 +0000)
committerivan <ivan>
Mon, 22 Dec 2008 00:46:48 +0000 (00:46 +0000)
FS/FS/cust_bill.pm

index 92d7809..ccfec79 100644 (file)
@@ -2271,6 +2271,7 @@ sub print_html {
                        s/~/&nbsp;/g;
                        s/\\\\\*?\s*$/<BR>/;
                        s/\\hyphenation\{[\w\s\-]+\}//;
+                       s/\\([&])/\1/g;
                        $_;
                      }
                      $conf->config_orbase( 'invoice_latexreturnaddress',