Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module provides a lightweight field formatter that strips all X/HTML from a text or link field to ensure it is only the text.
This module is a good solution for following issues, possibly others too!.
- Often when displaying content with Views using the teaser format type (especially when you're also using WYSIWYG editors) HTML can be invalidated and break your theme by only displaying the opening HTML tags. Simply enable the 'Strip HTML' display type in your node type display settings to fix this.
- You may also want to have no styling on lists or teasers, but have it on the full node page.
Note that views does have a filter of this sort buried within the field display settings if you have selected the 'Table' or 'Unformatted' display type. Once you have highlighted the field, select 'Trim this field to a maximum length', and select the 'Strip HTML from display' checkbox.
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Content Editing Experience, Content Display
- 1 site reports using this module
- Created by nicksanta on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.