Skip to content

Commit

Permalink
Merge pull request #615 from lstrojny/bugfix/extension-string
Browse files Browse the repository at this point in the history
Return string, not Twig_Markup object in Twig extension
  • Loading branch information
lsmith77 committed Jul 2, 2015
2 parents 0da0240 + 0054113 commit 01fca44
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Templating/ImagineExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@ public function getFilters()
*/
public function filter($path, $filter, array $runtimeConfig = array())
{
return new \Twig_Markup(
$this->cacheManager->getBrowserPath($path, $filter, $runtimeConfig),
'utf8'
);
return $this->cacheManager->getBrowserPath($path, $filter, $runtimeConfig);
}

/**
Expand Down

0 comments on commit 01fca44

Please sign in to comment.