Code cleanup
This commit is contained in:
parent
fe6c8f805a
commit
1b956afc29
1 changed files with 1 additions and 5 deletions
|
@ -78,11 +78,7 @@ class PicoTwigExtension extends AbstractTwigExtension
|
|||
public function getFilters()
|
||||
{
|
||||
return [
|
||||
'markdown' => new TwigFilter(
|
||||
'markdown',
|
||||
[ $this, 'markdownFilter' ],
|
||||
[ 'is_safe' => [ 'html' ] ]
|
||||
),
|
||||
'markdown' => new TwigFilter('markdown', [ $this, 'markdownFilter' ], [ 'is_safe' => [ 'html' ] ]),
|
||||
'map' => new TwigFilter('map', [ $this, 'mapFilter' ]),
|
||||
'sort_by' => new TwigFilter('sort_by', [ $this, 'sortByFilter' ]),
|
||||
'link' => new TwigFilter('link', [ $this->pico, 'getPageUrl' ]),
|
||||
|
|
Loading…
Reference in a new issue