Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Twig 3 deprecation notice for escape character #947

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tchapuis
Copy link

Hello !

I had this small deprecation notice when building the templates :

Deprecation Notice: Since twig/twig 3.12: Character "D" should not be escaped; the "\" character is ignored in Twig 3 but will not be in Twig 4. Please remove the extra "\" character at position 2 in "index.html.twig" at line 36. in /Users/tchapuis/PhpstormProjects/open-source/satisfy/vendor/symfony/deprecation-contracts/function.php:25

Based on latest Twig documentation, \ characters should escaped with another \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant