diff options
-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); } |