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

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