Ask Your Question
1

markdown link does not work if you omit 'http://'

asked 2012-04-25 15:03:04 -0500

zaf gravatar image

updated 2012-05-01 10:22:19 -0500

Evgeny gravatar image

When you add a link in a question, answer or comment, you have to include http:// otherwise it fails (404) or at best it redirects you to the same page you are now (i.e the question you are in). (by the way, when there is 404 error the search box seems buggy too).

E.g.: This link should take you to this one, coz they both have http://stackoverflow.com/ but the first is without http://.

I would guess this is important coz I rarely type http:// (only when I copy-paste, as most of you).

edit retag flag offensive close merge delete

Comments

most probably this could be a markdown problem and not askbot, so I don't know if it can be fixed from u, I just noticed

zaf gravatar imagezaf ( 2012-04-25 15:53:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-25 22:49:19 -0500

updated 2012-04-26 10:00:49 -0500

It's a markdown issue, markdown does not parse with urls without the protocol.

link to nowhere

edit flag offensive delete link more

Comments

2

I noticed in Stack Overflow that when the protocol is omitted, then the link is not activated so you cannot press it and get a 404 error. Is it a workaround we could also do for Askbot?

zaf gravatar imagezaf ( 2012-04-26 01:16:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-04-25 15:03:04 -0500

Seen: 186 times

Last updated: Apr 26 '12