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 patch adds a setting for long urls so that if one is longer than the limit, the text in the link is truncted and '...' added to the end. Also, I added a 'title' attribute to links to allow hovering to see the full url.
Comment | File | Size | Author |
---|---|---|---|
urlfilter.patch | 2.78 KB | crunchywelch |
Comments
Comment #1
geekarena CreditAttribution: geekarena commentedThank you! I have been waiting for this for a long time. Now, if I just knew how to impliment a patch, I would be all set. Might future versions of urlfilter have this integrated?
Comment #2
deekayen CreditAttribution: deekayen commentedComment #3
deekayen CreditAttribution: deekayen commentedCommitted to HEAD and DRUPAL-4-7 with a few of my own tweaks.
Comment #4
Steven CreditAttribution: Steven commented- Preg_replace/e is buggy. Avoid it at all costs
- Filter settings should be per format. See the hook_filter docs please.