Is there a possibility (or plugin) to truncate very long URLs which otherwise would crash the layout of a website?
Like, out of
<a href="http://domain.com/this-is-a-very-long-url/">http://domain.com/this-is-a-very-long-url/</a>make
<a href="http://domain.com/this…url/">http://domain.com/this…url/</a>but pointing to the same destination, of course.
Any limiter plugins will not work, because the URLs are within comments, not in a dedicated form field.
Also, I don’t like any css solution that is just cutting the URL in the middle of a letter. It’s a matter of beauty 😉
See this WP plugin as an example.