From 55671cffb7fedd147f44c31fde702e2754fdbf7f Mon Sep 17 00:00:00 2001 From: Darron Park Date: Mon, 16 Apr 2018 17:31:16 +0900 Subject: [PATCH] Remove base64_decode on evaluate result --- src/Browsershot.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Browsershot.php b/src/Browsershot.php index 92b18c8f..2c02f048 100644 --- a/src/Browsershot.php +++ b/src/Browsershot.php @@ -418,9 +418,7 @@ public function evaluate(string $pageFunction): string { $command = $this->createEvaluateCommand($pageFunction); - $encoded_result = $this->callBrowser($command); - - return base64_decode($encoded_result); + return $this->callBrowser($command); } public function applyManipulations(string $imagePath)