Field HTML Trim allows trimming an HTML-enabled text field without counting HTML
tags towards the character limit. This means that your trimmed text will be much
closer to the correct length, even when there's an image or other HTML content
at the beginning of the text.
Installation
-
Install this module using the official Backdrop CMS instructions at
https://backdropcms.org/guide/modules. -
Enable the 'HTML Trim' option on a text field formatter, then configure any
other options as necessary.
Issues
Bugs and Feature requests should be reported in the Issue Queue:
https://github.com/backdrop-contrib/field_html_trim/issues.
Current Maintainers
- Seeking maintainer(s)
Credits
- Ported to Backdrop CMS by Peter Anderson (https://github.com/BWPanda).
- Originally written for Drupal by Alex Verbruggen
(https://www.drupal.org/u/alexverb).
License
This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.