Skip to content

Commit

Permalink
fix: not register built in filters on init text template
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Nov 11, 2021
1 parent 7719966 commit 2966299
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/TextTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ class TextTemplate extends EasyTemplate
*/
protected function init(CompilerInterface $compiler): void
{
parent::init($compiler);

// use raw echo for text template
$compiler->disableEchoFilter();
}
Expand Down

0 comments on commit 2966299

Please sign in to comment.