Skip to content

Commit

Permalink
htmlspecialchars_decode 3v4l responses
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeHaa committed Feb 5, 2016
1 parent bf56dfb commit 32537eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Chat/Plugin/EvalCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private function pollUntilDone(string $snippetId, int $messageId): \Generator {
$messageId,
$this->getMessage(
$parsedResult["output"][0][0]["versions"],
$parsedResult["output"][0][0]["output"],
htmlspecialchars_decode($parsedResult["output"][0][0]["output"]),
$snippetId
)
);
Expand All @@ -120,7 +120,7 @@ private function pollUntilDone(string $snippetId, int $messageId): \Generator {
yield from $this->chatClient->postMessage(
$this->getMessage(
$parsedResult["output"][0][$i]["versions"],
$parsedResult["output"][0][$i]["output"],
htmlspecialchars_decode($parsedResult["output"][0][$i]["output"]),
$snippetId
)
);
Expand Down

0 comments on commit 32537eb

Please sign in to comment.