We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53bfd7b + 95e8516 commit 9e05932Copy full SHA for 9e05932
Twig/HTMLPurifierExtension.php
@@ -26,7 +26,7 @@ public function __construct(ContainerInterface $container)
26
public function getFilters()
27
{
28
return array(
29
- 'purify' => new \Twig_Filter_Method($this, 'purify', array('is_safe' => array('html'))),
+ new \Twig_SimpleFilter('purify', array($this, 'purify'), array('is_safe' => array('html'))),
30
);
31
}
32
0 commit comments