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 is a variation on a previous issue (I'll add it later) that requested the text be trimmed without including the HTML in the count. Patch to come soon.
Comment | File | Size | Author |
---|---|---|---|
#4 | html_trim-2363123-4.patch | 14.72 KB | markie |
Comments
Comment #1
markie CreditAttribution: markie commentedas promised. Patch..
Comment #2
markie CreditAttribution: markie commentedDiff did not add the TruncateHTML class. So here it is in all it's txt glory.
Comment #3
markie CreditAttribution: markie commentedbah! Review please.
Comment #4
markie CreditAttribution: markie commentedUpdated patch to fix some code sniffer issues and properly insert TruncateHTML class into patch.
Comment #6
markie CreditAttribution: markie at Mediacurrent commentedpatch was already committed. Closing out