diff --git a/src/voku/helper/HtmlDomHelper.php b/src/voku/helper/HtmlDomHelper.php index d0454d8..3d73b87 100644 --- a/src/voku/helper/HtmlDomHelper.php +++ b/src/voku/helper/HtmlDomHelper.php @@ -64,7 +64,7 @@ public static function mergeHtmlAttributes( } foreach ($attributes as $attributeName => $attributeValue) { - $domElement->setAttribute($attributeName, $attributeValue); + $domElement->setAttribute($attributeName, $attributeValue, true); } return $domElement->html();