Meta Question

SmashTheState's avatar

How does one create a text anchor to a URL which contains punctuation?

Asked by SmashTheState (14245points) July 5th, 2010

Several times now I’ve wanted to place an inline anchor to a URL which contains punctuation (usually brackets), and noticed that Fluther “helpfully” excludes the punctuation. For example, today I wanted to anchor some text to the following two URLs:

http://en.wikipedia.org/wiki/Rampage_(arcade_game) <—edit: Just noticed, this link is broken too
http://en.wikipedia.org/wiki/Crush,_Crumble_and_Chomp!

The anchors turn out like this(arcade_game) and this! respectively, breaking the hyperlinks.

Is it possible to instruct Textile to use a URL exactly as specified?

Observing members: 0 Composing members: 0

5 Answers

markyy's avatar

Simpy put, it can’t be done via Fluther, but you can use a service like bit.ly or tiny url to shorten your URL and point your text anchor to the new shortened URL given to you by the URL shortening service.

Jeruba's avatar

And here’s a global Grrr for all the formatting overrides in our interface, including automatic translation of certain numbers with slashes (1 / 4) to case fractions (¼) and changing item (c ) in a list to a copyright symbol© while deleting the leading space.

laureth's avatar

Another vote for tinyurl. You don’t necessarily need it to be tiny, but it does effectively mask the punctuation.

andrew's avatar

If you enclose your link in square brackets, [ “link” : http://…. ] it will work perfectly. It won’t show up in the preview, but it will work.

voila

SmashTheState's avatar

@andrew Thanks very much, that’s perfect.

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther