summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2013-09-15 13:19:00 -0600
committerMatt Butcher <[email protected]>2013-09-15 13:19:00 -0600
commit587b70c48bf11e2ca6dd60a1106b9fe079c4cc0f (patch)
tree9ab3934aab58a385e7fb8a5140b3bacea52dfffe /src
parent59e3ab859e671dca5c103983d94037bf0f8053e0 (diff)
Fix for #16: $ele changed to $node.
Thanks to @MrElectronic for catching this one.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5/Serializer/Traverser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HTML5/Serializer/Traverser.php b/src/HTML5/Serializer/Traverser.php
index d7d2e5b..74e2491 100644
--- a/src/HTML5/Serializer/Traverser.php
+++ b/src/HTML5/Serializer/Traverser.php
@@ -102,7 +102,7 @@ class Traverser {
break;
// FIXME: It appears that the parser doesn't do PI's.
case XML_PI_NODE:
- $this->rules->processorInstruction($ele);
+ $this->rules->processorInstruction($node);
break;
case XML_COMMENT_NODE:
$this->rules->comment($node);