Merge pull request #470 from CyberDomovoy/html5-treebuilder-namespace-error
Detect the namespace uri from token name
This commit is contained in:
commit
e581c34760
|
@ -158,6 +158,8 @@ class HTML5_TreeBuilder {
|
||||||
|
|
||||||
if ($this->ignore_lf_token) $this->ignore_lf_token--;
|
if ($this->ignore_lf_token) $this->ignore_lf_token--;
|
||||||
$this->ignored = false;
|
$this->ignored = false;
|
||||||
|
|
||||||
|
$token['name'] = str_replace(':', '-', $token['name']);
|
||||||
// indenting is a little wonky, this can be changed later on
|
// indenting is a little wonky, this can be changed later on
|
||||||
switch ($mode) {
|
switch ($mode) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue