diff --git a/plugin/customcertificate/src/export_pdf_all_in_one.php b/plugin/customcertificate/src/export_pdf_all_in_one.php index a7bb38617e5..6c366cee0c5 100644 --- a/plugin/customcertificate/src/export_pdf_all_in_one.php +++ b/plugin/customcertificate/src/export_pdf_all_in_one.php @@ -376,6 +376,8 @@ class="caraA" style="max-height: 150px; max-width: '.(2 * $widthCell).'mm;" src="'.$path.$infoCertificate['logo_right'].'" />'; } + + $myContentHtml = preg_replace('#(.*?)#is', '', $myContentHtml); $htmlText .= '(.*?)#is', '', $myContentHtml); $myContentHtml = strip_tags( $myContentHtml,