diff options
Diffstat (limited to 'src/HTML5/TreeBuilder.php')
-rw-r--r-- | src/HTML5/TreeBuilder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/HTML5/TreeBuilder.php b/src/HTML5/TreeBuilder.php index c22dbc1..45dfe10 100644 --- a/src/HTML5/TreeBuilder.php +++ b/src/HTML5/TreeBuilder.php @@ -3159,6 +3159,8 @@ class TreeBuilder { } private function insertElement($token, $append = true) { + // MPB: FIXME: This does not work with non-HTML namespaces where + // the name is not an lname, but a name with a prefix. $el = $this->dom->createElementNS(self::NS_HTML, $token['name']); if (!empty($token['attr'])) { |