Fix form custom CSS rendering

[MAILPOET-3596]
This commit is contained in:
Rostislav Wolny
2021-05-03 16:23:43 +02:00
committed by Veljko V
parent 03f9d445d3
commit e8c7b7e6b8
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class Renderer {
$this->customFonts->enqueueStyle();
$html = '.mailpoet_hp_email_label{display:none!important;}'; // move honeypot field out of sight
$html .= $this->styleUtils->prefixStyles($this->getCustomStyles($form), $prefix);
$html .= $this->styleUtils->renderFormSettingsStyles($form, $prefix, $displayType);
$html .= strip_tags($this->styleUtils->renderFormSettingsStyles($form, $prefix, $displayType));
return $html;
}