Answered by:
Forum Ignores Closing ) in Hyperlink

Question
-
Hi,
If the following pasted link works, then ignore this post. :)
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
- Dave
Answers
-
The forum engineering team logged it as a bug , when our team got an update, I will update you in this thread.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, August 29, 2012 12:08 AM
- Marked as answer by Dave Sexton Wednesday, August 29, 2012 12:13 AM
-
UPDATE: Unfortunately this is a bug with the Telerik Editor.
We can duplicate it on their site: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
They have a complaint email on the right that can be used to mention that this bug exists: http://www.telerik.com/company/contact-us.aspx
Would you like me to email them?
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Marked as answer by Dave Sexton Tuesday, November 27, 2012 9:59 PM
All replies
-
Hi,
Notice that the link doesn't include the closing ")". The forum ignores it.
However, editing the post doesn't allow me to fix the problem either. For example:
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
Edit: I've just retyped the end of the link so that the closing ")" is definitely part of it. But it still doesn't work. My browser will include the ")" as part of the roll-over effect, indicating that it's part of the link, even though when I click the link the ")" is excluded.
Edit 2: I've fixed the HREF attribute in the link editor, per Robert's reply. The link should work now, though the original problem still remains: Why did the forum exclude the trailing ")" when I pasted the link as text?
- Dave
- Edited by Dave Sexton Saturday, August 11, 2012 10:08 PM Fixed link.
-
<a href="<a href="http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103">http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)</a>
Use the HTML button to see what you did. You fixed the anchor's text only, not its HREF. It's the HREF which provides the link.
Edit: Even though I had created text not HTML the editor tried to interpret it as a link. The Unlink button did not work. The Ctrl-Shift-K supposed keyboard shortcut did not work. The way that I was finally able to remove the unwanted anchor was by replacing its left angle bracket with <
Edit: Now it has inexplicably doubled up the anchor but at least not linked.
---
- Edited by Robert Aldwinckle on forums Saturday, August 11, 2012 10:07 PM This editor is still broken.
-
Hi,
Well, that explains why I couldn't fix it myself, thanks. But it doesn't explain why it doesn't work in the first place. Try it yourself: copy and paste the link as text into a new reply.
- Dave
- Edited by Dave Sexton Saturday, August 11, 2012 10:03 PM
-
Hi,
I just realized why I assumed that the HREF would be updated automatically: I didn't paste a link. I simply pasted text and the forum made it into a link. It implies that editing the text will automatically change the HREF. I believe this behavior exists in some (most?) editors.
Anyway, the original problem still remains: Why did the editor exclude the trailing ")" from the automatic link when I pasted it as text?
- Dave
-
Hi Robert,
Actually, I think your point indicates a recent regression bug. Didn't the forum used to behave in the way that I had expected? I.e., changing the text that the editor converted to a link used to automatically changed the HREF as well.
So perhaps we've identified two bugs. (Edit: Make that three bugs, if we count the "unlink" bug that you've found.)
- Dave
- Edited by Dave Sexton Saturday, August 11, 2012 10:17 PM 3 bugs, not 2
-
Test:
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
Yep. Definitely a bug.
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Marked as answer by Dave Sexton Tuesday, August 14, 2012 1:52 AM
- Unmarked as answer by Ed Price - MSFTMicrosoft employee Tuesday, August 14, 2012 2:28 AM
-
Test. Pasted with the url copied from the page:
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
This time I edit the HTML:
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
The bad HTML was as follows:
<p><a href="http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103">http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103</a>)</p>
-----
Notice the closing parentheses is after the closing </a> tag. This needs to be changed to:
<p><a href="http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)">http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)</a></p>
-----
so the ")" after the </a> tag is removed, and added in the two places after "vs.103". The ")" is added in the href and in the text that is displayed (so it is colored properly). This is a bug.
Richard Mueller - MVP Directory Services
- Edited by Richard MuellerMVP Tuesday, August 14, 2012 2:55 AM I had to paste the HTML examples (as text converted into HTML) using the "Insert HTML" feature
-
EPX customer support test url with")": http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
-
- Edited by Yuanli Guo 郭远丽 Tuesday, August 28, 2012 4:22 AM update
-
test the url contains")"
http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103)
- Edited by Yuanli Guo 郭远丽 Tuesday, August 28, 2012 4:37 AM update
-
I have escalated the issue to the forum engineering team for further investigation. However I find something strange.
If we copy the link from the first post to the web adress we can open it correctly then recopy it from IE to this thread , it is an invalidate URL and we can't click it directly.
If we copy normally link to a new thread,such as http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103) , it works normanlly.
- Edited by Yuanli Guo 郭远丽 Tuesday, August 28, 2012 4:45 AM update
-
Hi Yuanli,
I think the problem is related to the auto-linking code. In other words, the code that converts normal text into a hyperlink based on pattern matching.
- Dave
-
The forum engineering team logged it as a bug , when our team got an update, I will update you in this thread.
- Proposed as answer by Ed Price - MSFTMicrosoft employee Wednesday, August 29, 2012 12:08 AM
- Marked as answer by Dave Sexton Wednesday, August 29, 2012 12:13 AM
-
I have escalated the issue to the forum engineering team for further investigation. However I find something strange.
If we copy the link from the first post to the web adress we can open it correctly then recopy it from IE to this thread , it is an invalidate URL and we can't click it directly.
If we copy normally link to a new thread,such as http://msdn.microsoft.com/en-us/library/hh229090(v=vs.103) , it works normanlly.
Right. Copying the link isn't the issue. The issue is that when you paste the link into the forum from the Address Bar, the last ")" symbol isn't active in the hyperlink, thus creating a dead link. Dave and Richard have some great explanations as to why this might be happening.
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
-
UPDATE: Unfortunately this is a bug with the Telerik Editor.
We can duplicate it on their site: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
They have a complaint email on the right that can be used to mention that this bug exists: http://www.telerik.com/company/contact-us.aspx
Would you like me to email them?
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Marked as answer by Dave Sexton Tuesday, November 27, 2012 9:59 PM
-
The problem url's end with a closing ")". The same url with ".aspx" appended works fine. It seems that sometimes you find url's without the .aspx. You can go to the page using the url without the .aspx, and the address bar will have the same url (with no .aspx).
I cannot find any url's (recognized as hyperlinks) with this problem on the Microsoft site. However, I can easily create one. For example:
http://technet.microsoft.com/en-us/library/cc778414(v=WS.10)
I don't think the problem will show up very often, but when it does people think the page doesn't exist. We can at least complain. I don't think the fix would be difficult.
Richard Mueller - MVP Directory Services