Module
- D10: stable release
- D11: stable release
- D12: not supported
Twig - Remove HTML comments
Provides a Twig filter that removes HTML comments. Requirements Drupal 10 or 11 PHP 7.2+ Usage: {# Print result as markup render array. #} {{ content.field_my_field|render|remove_html_comments }} {# Print result as string. #} {{ content.field_my_field|render|remove_html_comments_as_string }}
drupal.org
composer require drupal/twig_remove_html_comments71 out of 100
Solid
Mature and stable; rarely needs changes.
- Sites
- 1.5K
- Latest release
- 8 months ago
- Contributors (12 months)
- 2
- Open bugs
- 0
Why 71?
How scores work →Scored for choosing for a business. Each part is out of 100.
- Adoption
- 1.5K sites, +45% in 12 months
- 45
- Activity
- Last release 8 months ago; 1 release this year
- 34
- Community
- 5 maintainers can publish fixes; 2 people contributed this year
- 61
- Health
- 0 open bugs, 0 serious; 0 finished fixes waiting