Problem/Motivation
The URL formater Link to URI
seems to fail with views TRIM feature.
If you add an URL to a view it can be quite long and may move outside of the viewport of you browser. In D7 it was possible to trim l(_filter_url_trim($link->url, 40), $link->url),
a link by code. As views have the same feature, I think it should work the same way.
Steps to reproduce
- Output an URL (you may use linkchecker module and see the broken links report)
- Change the view and set the url field to
- "Trim this field to a maximum number of characters" = 40
- "Trim only on a word boundary" - disable
- Save and you only see "..." (3 dots) as URL that are also not clickable
Proposed resolution
Allow trimming of URLs like l(_filter_url_trim($link->url, 40), $link->url),
has done.