Permalink
Browse files

Update to work with the last version of twig

  • Loading branch information...
1 parent 47bd24e commit d61153009c23419499703f21ed13e3ebc7938201 @benji07 committed Dec 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Twig/Extension/MarkdownTwigExtension.php
View
2 Twig/Extension/MarkdownTwigExtension.php
@@ -16,7 +16,7 @@ function __construct(MarkdownHelper $helper)
public function getFilters()
{
return array(
- 'markdown' => new \Twig_Filter_Method($this, 'markdown', array('is_escaper' => true)),
+ 'markdown' => new \Twig_Filter_Method($this, 'markdown', array('is_safe' => array('html'))),
);
}

0 comments on commit d611530

Please sign in to comment.