Merge branch 'debian' into b-3.6.1
[kivitendo-erp.git] / SL / BackgroundJob / CreatePeriodicInvoices.pm
index ab28961..4e32063 100644 (file)
@@ -473,7 +473,7 @@ sub _email_invoice {
         invoice          => $data->{invoice},
         vars             => $data->{time_period_vars},
         attribute        => $_,
-        attribute_format => 'text'
+        attribute_format => ($_ eq 'email_body' ? 'html' : 'text')
       );
     }