This project is not covered by Drupal’s security advisory policy.
Provides a filter for use in twig templates to clean away twig debugging output (mostly html comments describing template suggestions etc).
When in twig debug mode the html comments can interfere with development. This filter cleans away the suggestions using regex.
Usage
Must be used in conjunction with the |raw filter otherwise output will be double escaped, e.g.:
{{ content.field_image|clean_debug|raw }}
Warning: this will throw an exeption if the site is not in twig debug mode.
Supporting organizations:
Development
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Developer tools
- Created by Jeff Burnz on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
