-
Notifications
You must be signed in to change notification settings - Fork 397
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
DX-5099: Twig tweak module filter are not recognized in validate:twig
.
#4494
Comments
validate:twig
.validate:twig
.
One quick work around is to add skip filter option to
|
This doesn't feel like a bug to me, any additional (non-core, custom) twig filters need to be added to BLT for them to pass validation. i guess technically this could be a feature request to add all of the twig tweak filters to blt by default? |
Yes, agree, I should be enhancement. |
I also started to get issues with core filters like |
It looks like the core
|
Looks like issue was cased by |
Describe the bug
I'm using twig tweak module 3.1.3. Using one of the filter from it in a template and getting error on
blt validate
is giving errorTo Reproduce
Steps to reproduce the behavior, ideally starting from a fresh install of BLT:
composer require drupal/twig_tweak
{{ '<b>bold</b> <strong>strong</strong>'|check_markup('restricted_html') }}
blt validate
Expected behavior
Blt validate should not give any errror.
Detailed error output
System information
The text was updated successfully, but these errors were encountered: