none
Forum Ignores Closing ) in Hyperlink RRS feed

Answers

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


    http://davesexton.com/blog

    • Edited by Dave Sexton Saturday, August 11, 2012 10:08 PM Fixed link.
    Saturday, August 11, 2012 8:11 PM
  • <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 &lt;

    Edit:  Now it has inexplicably doubled up the anchor but at least not linked.

    ---



    Saturday, August 11, 2012 9:56 PM
  • 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


    http://davesexton.com/blog

    • Edited by Dave Sexton Saturday, August 11, 2012 10:03 PM
    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


    http://davesexton.com/blog

    Saturday, August 11, 2012 10:11 PM
  • 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


    http://davesexton.com/blog

    • Edited by Dave Sexton Saturday, August 11, 2012 10:17 PM 3 bugs, not 2
    Saturday, August 11, 2012 10:16 PM
  • 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)

    Tuesday, August 14, 2012 1:35 AM
    Owner
  • Sorry. Let's leave this unmarked while I make sure it's logged and the forum team can weigh in.

    Thanks!


    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Tuesday, August 14, 2012 2:29 AM
    Owner
  • 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, Moderator Tuesday, August 14, 2012 2:55 AM I had to paste the HTML examples (as text converted into HTML) using the "Insert HTML" feature
    Tuesday, August 14, 2012 2:47 AM
    Moderator
  • I submitted a bug request to the support team. I'll return with any update. Thanks!

    Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)

    Tuesday, August 28, 2012 12:20 AM
    Owner
  • Tuesday, August 28, 2012 2:34 AM
  • Tuesday, August 28, 2012 4:14 AM
  • Tuesday, August 28, 2012 4:18 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.

    Tuesday, August 28, 2012 4:20 AM
  • 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


    http://davesexton.com/blog

    Tuesday, August 28, 2012 8:57 AM
  • The forum engineering team logged it as a bug , when our team got an update, I will update you in this thread.
    Tuesday, August 28, 2012 9:04 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)

    Wednesday, August 29, 2012 12:11 AM
    Owner
  • 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
    Friday, September 14, 2012 4:45 AM
    Owner
  • 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

    Friday, September 14, 2012 10:00 PM
    Moderator