From 68d3721e47ced10bdc06adf0da7687e4e166f17f Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Sun, 15 Sep 2013 13:20:58 -0600 Subject: For #16, removed extra wr(' ') from PI serializer. This caused a trailing whitespace after the PI contents and before the PI closing tag. --- src/HTML5/Serializer/OutputRules.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HTML5/Serializer') diff --git a/src/HTML5/Serializer/OutputRules.php b/src/HTML5/Serializer/OutputRules.php index a37fdd3..0ee1e11 100644 --- a/src/HTML5/Serializer/OutputRules.php +++ b/src/HTML5/Serializer/OutputRules.php @@ -109,7 +109,7 @@ class OutputRules implements \HTML5\Serializer\RulesInterface { } public function processorInstruction($ele) { - $this->wr('wr($ele->target)->wr(' ')->wr($ele->data)->wr(' ?>'); + $this->wr('wr($ele->target)->wr($ele->data)->wr(' ?>'); } /** @@ -254,4 +254,4 @@ class OutputRules implements \HTML5\Serializer\RulesInterface { return $ret; } -} \ No newline at end of file +} -- cgit v1.2.3