URLs with underscores

Alastair Rankine arsptr at optusnet.com.au
Sun Jul 3 09:02:51 EDT 2005


Hi,

I've just noticed that:

http://foo_bar.com becomes <p>http://foo_bar.com</p>

... which is as you might expect, but:

http://foo_bar_baz.com becomes <p>http://foo<em>bar</em>baz.com</p>

... which seems somewhat counterintuitive.

Given that underscores are legal characters in a URL I think there is a
case to be made for keeping the URL intact (meaning it can be
copied-n-pasted).

BTW Other than this Markdown kicks arse, thanks.


More information about the Markdown-Discuss mailing list