We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9172bf commit c793338Copy full SHA for c793338
src/Plugin/UiPatterns/SettingType/AttributesSettingType.php
@@ -40,7 +40,7 @@ public function preprocess($value, array $context) {
40
$value = parent::preprocess($value, $context);
41
$parse_html = '<div ' . $value . '></div>';
42
$attributes = [];
43
- foreach (HTML::load($parse_html)->getElementsByTagName('div') as $div) {
+ foreach (Html::load($parse_html)->getElementsByTagName('div') as $div) {
44
foreach ($div->attributes as $attr) {
45
$attributes[$attr->nodeName] = $attr->nodeValue;
46
}
0 commit comments