tea.mathoverflow.net - Discussion Feed (Dashes in links in comments) Sun, 04 Nov 2018 23:19:27 -0800 http://mathoverflow.tqft.net/ Lussumo Vanilla 1.1.9 & Feed Publisher Harry Gindi comments on "Dashes in links in comments" (4469) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4469#Comment_4469 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4469#Comment_4469 Tue, 06 Apr 2010 00:09:14 -0700 Harry Gindi I believe that the thing about closing parentheses actually does happen.

]]>
Anton Geraschenko comments on "Dashes in links in comments" (4468) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4468#Comment_4468 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4468#Comment_4468 Mon, 05 Apr 2010 23:51:15 -0700 Anton Geraschenko See also tip number 7 on the tips and tricks page. I agree it would be nice automatically encode some characters in links in comments, but it would be pretty hard to get it right. For example, consider the following comment:

Google (http://google.com) is a good place to search for things. You may also want to check Wikipedia—at http://en.wikipedia.com—when you're searching for stuff before asking your question on http://mathoverflow.net.

In a dumb algorithm, the closing paren would get included in the google url, the em-dash in the wikipedia url, and the dot at then end of the MO url, all of which would break.

]]>
Kevin Lin comments on "Dashes in links in comments" (4464) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4464#Comment_4464 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4464#Comment_4464 Mon, 05 Apr 2010 19:23:03 -0700 Kevin Lin Thanks, Mariano.

]]>
Mariano comments on "Dashes in links in comments" (4462) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4462#Comment_4462 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4462#Comment_4462 Mon, 05 Apr 2010 18:02:13 -0700 Mariano See, by the way, http://tea.mathoverflow.net/discussion/65/markdown-bug-with-links/

]]>
Mariano comments on "Dashes in links in comments" (4461) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4461#Comment_4461 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4461#Comment_4461 Mon, 05 Apr 2010 17:43:48 -0700 Mariano The problem is that that dash is not a dash but an en-dash, a.k.a. U+2013 EN DASH, which is not an allowed character in an URI. It should be percent-escaped (ideally automatically by something...)

]]>
Harry Gindi comments on "Dashes in links in comments" (4460) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4460#Comment_4460 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4460#Comment_4460 Mon, 05 Apr 2010 17:26:45 -0700 Harry Gindi If markdown or html worked in comments, this would be much less of a problem.

]]>
Kevin Lin comments on "Dashes in links in comments" (4459) http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4459#Comment_4459 http://mathoverflow.tqft.net/discussion/334/dashes-in-links-in-comments/?Focus=4459#Comment_4459 Mon, 05 Apr 2010 17:20:23 -0700 Kevin Lin They get messed up.

]]>