diff --git a/lib/Twig/Markup.php b/lib/Twig/Markup.php index 878ee074a..9b8f63032 100644 --- a/lib/Twig/Markup.php +++ b/lib/Twig/Markup.php @@ -21,7 +21,7 @@ class Twig_Markup extends Exception public function __construct($content) { - $this->content = $content; + $this->content = (string) $content; } public function __toString()