A Field formatter settings implementation to enable trimming without counting HTML tags. This has been a long standing issue with Drupal text_trimmed formatter. Following issues address this problem:
- HTML markup is counted in for the length of trimmed posts
- text_summary() should output valid HTML and Unicode text, and not count markup characters as part of the text length
This module provides a neat solution for cutting off the text without taking any HTML tags into consideration. It uses a regular expression containing all the words of a trimmed textual representation of the field value to extract the wanted block of HTML.
This is a simple solution for anyone that just wants their teasers to have the same textual length regardless of any links, images or other tags that are in the field value. This module does not provide a way to cut off at the end of a sentence. It goes up to word level.
Project information
Seeking co-maintainer(s)
Maintainers are looking for help reviewing issues.Maintenance fixes only
Considered feature-complete by its maintainers.57 sites report using this module
- Created by alexverb on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.



