From 26ccf6eec90e37636982f08ac5d070658a7bd0a5 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Tue, 5 Nov 2013 22:38:08 -0500 Subject: Added tests for the output of processor instructions that lead to fixing that method. --- src/HTML5/Serializer/OutputRules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HTML5/Serializer/OutputRules.php') diff --git a/src/HTML5/Serializer/OutputRules.php b/src/HTML5/Serializer/OutputRules.php index bb0cb45..bc57346 100644 --- a/src/HTML5/Serializer/OutputRules.php +++ b/src/HTML5/Serializer/OutputRules.php @@ -120,7 +120,7 @@ class OutputRules implements \HTML5\Serializer\RulesInterface { } public function processorInstruction($ele) { - $this->wr('wr($ele->target)->wr($ele->data)->wr(' ?>'); + $this->wr('wr($ele->target)->wr(' ')->wr($ele->data)->wr('?>'); } /** -- cgit v1.2.3