Skip to content

Commit

Permalink
Remove base64_decode on evaluate result
Browse files Browse the repository at this point in the history
  • Loading branch information
darron1217 committed Apr 16, 2018
1 parent 694f1f8 commit 55671cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Browsershot.php
Expand Up @@ -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)
Expand Down

0 comments on commit 55671cf

Please sign in to comment.