diff --git a/classes/Node/Container/Document.php b/classes/Node/Container/Document.php index 7e51349..a2fcdfa 100644 --- a/classes/Node/Container/Document.php +++ b/classes/Node/Container/Document.php @@ -875,7 +875,7 @@ private function parse_attribs($attribs) // if this tag only has one = then there is only one attribute // so add it all to default - if($attribs[0] == '=' && strrpos($attribs, '=') === 0) + if($attribs[0] == '=' && (strrpos($attribs, '=') === 0 || $attribs[0] == '=')) $ret['default'] = htmlentities(substr($attribs, 1), ENT_QUOTES | ENT_IGNORE, "UTF-8"); else {