- Issue created by @Giuseppe87
- 🇮🇹Italy frazac
I quote.
Same error with
Drupal 10.2.6And
twig_tweak
Version: 3.3.0 - 🇺🇸United States tripodcreative
Here's how you fix this issue:
You need to go to twig-twig/src/Plugin/Filter and edit FilterTwig.php, and change line 14 from:
type = Drupal\filter\Plugin\FilterInterface::TYPE_HTML_RESTRICTOR
to
type = Drupal\filter\Plugin\FilterInterface::TYPE_TRANSFORM_IRREVERSIBLE
Clear cache and it will pick up. I am not able to generate a patch from this code at the moment, but posting here for anyone else who runs into this problem. (Don't leave the module hacked, generate a patch from the diff and add it in via composer patches)
- Merge request !3Issue #3004747 by alonaoneill, chipway: Capitalize the name of the module and... → (Open) created by Unnamed author
- 🇮🇳India atul_ghate
I have successfully reproduced this issue, added fixes in the MR and the patch as well. Please review and merge.
- gaurav gupta Jaipur, Rajasthsan
Hello ,
i have tested the MR and the issue has been solved.
Thanks.