Fix rendering issues in form blocks

[MAILPOET-3415]
This commit is contained in:
Rostislav Wolny
2021-02-11 12:45:49 +01:00
committed by Veljko V
parent 6e911ffd1d
commit c1aef842d2
29 changed files with 196 additions and 58 deletions

View File

@@ -43,7 +43,7 @@ class Select {
class="mailpoet_select"
name="' . $fieldName . '" '
. $automationId
. 'style="' . $this->blockStylesRenderer->renderForSelect([], $formSettings) . '"'
. 'style="' . $this->wp->escAttr($this->blockStylesRenderer->renderForSelect([], $formSettings)) . '"'
. '>';
if (isset($block['params']['label_within']) && $block['params']['label_within']) {