diff options
author | Matt Butcher <[email protected]> | 2013-04-24 09:57:26 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-04-24 09:57:26 -0500 |
commit | eaf7cf7574f9b89c14ef5052b7ad3cfd021e3f3b (patch) | |
tree | e05fcf62daee7b9360292796c9f4d726042a2309 /src/HTML5 | |
parent | b799bebf89842830ffedbdd109014b224a74800f (diff) |
Updated DOMTree builder.
Diffstat (limited to 'src/HTML5')
-rw-r--r-- | src/HTML5/Parser/DOMTreeBuilder.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HTML5/Parser/DOMTreeBuilder.php b/src/HTML5/Parser/DOMTreeBuilder.php index be9fa23..305a733 100644 --- a/src/HTML5/Parser/DOMTreeBuilder.php +++ b/src/HTML5/Parser/DOMTreeBuilder.php @@ -84,6 +84,7 @@ class DOMTreeBuilder implements EventHandler { } public function comment($cdata) { + // TODO: Need to handle case where comment appears outside of the HTML tag. $node = $this->doc->createComment($cdata); $this->current->appendChild($node); } |