ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to link URLs with parentheses correctly?

asked 2012-01-23 19:16:28 -0600

dornhege gravatar image

Linking a URL with ) in it doesn't work as that's the same character that ends the link tag. I tried some basic escaping, unsuccessfully.

Is there a solution to this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-01-24 00:10:15 -0600

joq gravatar image

updated 2012-01-24 00:15:53 -0600

I've been having trouble with that, too.

Turns out you can escape '(' with "%28" and ')' with "%29", the ASCII hex values. The close parenthesis is all that's really required, but the other helps to make things look less "unbalanced".


Even with that escape, it can be tricky. Sometimes the link works while editing, yet fails after the edit is committed.

We should probably open a ticket on this behavior.

edit flag offensive delete link more

answered 2012-01-24 23:35:48 -0600

felix k gravatar image

updated 2012-01-24 23:45:23 -0600

This is just a test, if inserting a link" title="inexistent ticket page title">like this via the link button does work, as I had been experiencing difficulties with that. No brackets involved..

edit: gotcha!

What I wrote in my answer, plain markdown:

[like this](http:// "inexistent ticket page title")

What the preview looks like (all linked and blue):

like this

What the answer looks like afterwards:" title="inexistent ticket page title">like this

Anyone else? As in the edit window it looks like before, there seems to be a disturbing parser when displaying posts..

edit flag offensive delete link more


There's a problem with the parser in the button popup detecting "https:" as valid prefix, hence there is a double "http://https:" afterwards in the plaintext. I work around that by removing the extra prefix or entering the URL manually.
AHornung gravatar image AHornung  ( 2012-01-24 23:49:28 -0600 )edit
Oh, I see... uhm.. what about updating? The current version is 0.7.26.. does anyone know who maintained ros answers?
felix k gravatar image felix k  ( 2012-01-25 03:03:57 -0600 )edit
I believe one can open a `ros` Trac ticket with the component of ``.
joq gravatar image joq  ( 2012-01-25 03:29:37 -0600 )edit
felix k gravatar image felix k  ( 2012-01-26 20:43:30 -0600 )edit

Question Tools


Asked: 2012-01-23 19:16:28 -0600

Seen: 3,058 times

Last updated: Jan 24 '12