Is output filter ellipsis doesn't work width URL?

I’m using MODX 2.7.3 and I want to truncate a URL from a TV with the ellipsis output filter
Here my code :


The output filter is purely not working : the URL is fully displayed.
The workaround I have found is to use the “limit” output filter but the is not the “…” after trucating.

Is there a reason why ellipsis doesn’t work with URL ?

The ellipsis output modifier only truncates the string at positions where there is a space in the string.
Because a URL has no spaces, nothing is truncated.

It seems you’ve asked the same question couple of years before :slight_smile:

1 Like