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