diff --git a/src/bb-modules/Invoice/Service.php b/src/bb-modules/Invoice/Service.php
index eb542e4b9..e6acb4f51 100644
--- a/src/bb-modules/Invoice/Service.php
+++ b/src/bb-modules/Invoice/Service.php
@@ -1300,7 +1300,12 @@ class Service implements InjectionAwareInterface
$options->set('isRemoteEnabled',true);
}
}
- $html .= "";
+ // Workaround to get SVG images to render. Please see https://github.com/dompdf/dompdf/issues/320
+ if ('.svg' === substr($url, -4)) {
+ $html .= '
';
+ } else {
+ $html .= '
';
+ }
$html .= '