Skip to content

Commit

Permalink
Merge pull request #91 from ByteInternet/disable_twig_autoescape
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderGrooff authored May 3, 2023
2 parents 7101be1 + c854984 commit d4c7e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private function initApplication(Container $container): Application
private function registerTwigLoader(Container $container): void
{
$loader = new FilesystemLoader(__DIR__ . '/Resource/template');
$twig = new Environment($loader);
$twig = new Environment($loader, ['autoescape' => false]);
$container->set(Environment::class, $twig);
}

Expand Down

0 comments on commit d4c7e45

Please sign in to comment.