diff options
Diffstat (limited to 'src/HTML5/Serializer/Traverser.php')
-rw-r--r-- | src/HTML5/Serializer/Traverser.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HTML5/Serializer/Traverser.php b/src/HTML5/Serializer/Traverser.php index 097162e..be485f4 100644 --- a/src/HTML5/Serializer/Traverser.php +++ b/src/HTML5/Serializer/Traverser.php @@ -166,6 +166,12 @@ class Traverser { } } + /** + * Write a text node. + * + * @param \DOMText $ele + * The text node to write. + */ protected function text($ele) { if ($this->isLiteral($ele)) { $this->wr($ele->wholeText); |