bellroy / lesswrong-migrated

Automatically exported from code.google.com/p/lesswrong
Other
0 stars 0 forks source link

hyperlinks that end with right parenthesis in comments not rendered correctly. #308

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The comment at
http://lesswrong.com/r/discussion/lw/cu5/complexity_of_value_has_implications_fo
r_torture/6tna

shows three versions of the broken hyperlink rendering.  

Essentially a hyperlink ending in a ), the ) is not ever made part of the 
hyperlink and so the hyperlink is always broken in the comment.  

What steps will reproduce the problem?
1Put text
http://en.wikipedia.org/wiki/Ring_(computer_security)
[hyperlink](http://en.wikipedia.org/wiki/Ring_(computer_security))
in a comment.  

What is the expected output? What do you see instead?
You should see a literal link to a valid wiki page on one line, and on the next 
line the text "hyperlink" should be a hyperlink to that page.

What you get instead are two broken links.  In both broken links, the last 
right parenthesis is not considered part of the hyperlink and so one character 
")" is missing from the hyperlink, making it broken.

What version of which web browser are you using? On what operating system?
Chrome 19.0.1084.52 m running on Windows 7 Professional

Please provide any additional information below.

Original issue reported on code.google.com by mweng...@gmail.com on 13 Jun 2012 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by wjmo...@gmail.com on 14 Jun 2012 at 12:04

GoogleCodeExporter commented 9 years ago
It would be nice if the first example (the auto-hyperlinked version) would 
include the close paren in the hyperlink, but the second example is just how 
Markdown works.

Original comment by arundelo on 5 Jul 2012 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by Matthew.Fallshaw on 3 Aug 2012 at 6:05