diff --git a/src/Chat/Plugin/EvalCode.php b/src/Chat/Plugin/EvalCode.php index 6fc169b..9c7dedb 100644 --- a/src/Chat/Plugin/EvalCode.php +++ b/src/Chat/Plugin/EvalCode.php @@ -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 ) ); @@ -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 ) );