summaryrefslogtreecommitdiff
path: root/src/HTML5/Serializer/OutputRules.php
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2014-02-11 09:56:01 -0700
committerMatt Butcher <[email protected]>2014-02-11 09:56:01 -0700
commit44e8e23626bf619844baf9983e931d2f58606377 (patch)
tree62625f63a954ab5a3f9bb4184039a68496e3896a /src/HTML5/Serializer/OutputRules.php
parent77ad931cd824feb33eebae08cf3a5a47bce1e337 (diff)
parent3b691837c6d7a0969137048fbda274463d6b1d7c (diff)
Merge branch 'master' of github.com:Masterminds/html5-php
Diffstat (limited to 'src/HTML5/Serializer/OutputRules.php')
-rw-r--r--src/HTML5/Serializer/OutputRules.php2
1 files changed, 1 insertions, 1 deletions
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('?>');
}
/**