Fix W3C standard violation

Reported in https://wordpress.org/support/topic/w3c-standard-violation/#post-17543406.

[MAILPOET-5993]
This commit is contained in:
Jan Jakes
2024-04-02 16:10:21 +02:00
committed by Rostislav Wolný
parent 02c1d3cc91
commit 0fc6f40764

View File

@@ -141,7 +141,7 @@ class BlockRendererHelper {
. $forId
. $labelClass
. $this->renderFontStyle($formSettings, $block['styles'] ?? [])
. ($automationId ?? '')
. ($automationId ? " $automationId" : '')
. '>';
$html .= htmlspecialchars($block['params']['label']);