Commit c792e0d0 by armab

Hotfix for #3597

parent f23b7ac5
......@@ -1598,7 +1598,7 @@ class BaseHtml
} elseif (is_array($value) && $name === 'data') {
foreach ($value as $n => $v) {
if (is_array($v)) {
$html .= " $name-$n='" . Json::encode($v) . "'";
$html .= " $name-$n='" . Json::encode($v, JSON_HEX_APOS) . "'";
} else {
$html .= " $name-$n=\"" . static::encode($v) . '"';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment