From 186ee9d481aded712459a4371619fcdbd33b443a Mon Sep 17 00:00:00 2001 From: Technosophos Date: Tue, 16 Apr 2013 14:45:56 -0500 Subject: Added support for processing instructions. --- test/HTML5/Parser/EventStack.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/HTML5/Parser/EventStack.php') 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 { -- cgit v1.2.3