summaryrefslogtreecommitdiff
path: root/test/HTML5/Parser/EventStack.php
diff options
context:
space:
mode:
authorTechnosophos <[email protected]>2013-04-16 14:45:56 -0500
committerTechnosophos <[email protected]>2013-04-16 14:45:56 -0500
commit186ee9d481aded712459a4371619fcdbd33b443a (patch)
tree58f28af8c784153f9396b62b3032056aeca923c2 /test/HTML5/Parser/EventStack.php
parent2f941ff18eb9f87e84ba2768fbdaf969be9e9fd2 (diff)
Added support for processing instructions.
Diffstat (limited to 'test/HTML5/Parser/EventStack.php')
-rw-r--r--test/HTML5/Parser/EventStack.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/HTML5/Parser/EventStack.php b/test/HTML5/Parser/EventStack.php
index e865507..f197855 100644
--- a/test/HTML5/Parser/EventStack.php
+++ b/test/HTML5/Parser/EventStack.php
@@ -71,6 +71,9 @@ class EventStack implements EventHandler {
$this->store('error', func_get_args());
}
+ public function processingInstruction($name, $data = NULL) {
+ $this->store('pi', func_get_args());
+ }
}
class EventStackParseError extends \Exception {