Lack of interest Semi-bug: Link shortening and printing

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

sheel

Active member
Hello,

no, I'm not asking for a printing-version-feature, because with some CSS media queries, printing threads works well.

Except for one thing (Problem first, idea for simple solution then):

Code:
[url]http://mylooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonglink.com[/url]
gets shortened with ...:
http://mylooooooooooooooooooooooooo...ooooooooooooooooooooooooooooooooooonglink.com
even on the printed page. Because this happens on PHP side, it can't be solved with some CSS alone.

While a small plugin could solve this, it would be nice too see something like the following in XF2:

Instead of something like
Code:
<a href="http://myloooooooooooooooooonglink.com">
http://mylo...onglink.com
</a>
the Base Formatter shortener could generate
Code:
<a href="http://myloooooooooooooooooonglink.com">
http://mylo
<span class=myhiddenlinkpart>ooooooooooo</span>
<span class=myvisiblelinkpart>...</span>
onglink.com
</a>
Ie. the two spans with content instead of just "..."
Then some CSS like
Code:
.myvisiblelinkpart {}
.myhiddenlinkpart { display:none; }
With this, it would be enough to just switch these two classes in the print version CSS.
 
Last edited:
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom