Problem viewing a link with "Insert Hyperlink" button

  •  10-18-2005, 6:58 PM

    Problem viewing a link with "Insert Hyperlink" button

    I'm using CE for ASP v4.2.
     
    There seems to be an issue where if I have a relative link in the text in the editor, and I put my cursor on it then click the "Insert Hyperlink" button to view the link, it adds some extra prefix host information onto it that shouldn't be there.
     
    For example, if I have a link
    <a href="/uploads/image.jpg">click here</a>
     
    It looks fine in the HTML, but then when I click Insert Hyperlink, it shows that the link as:
     
    That isn't right.  And when I look at the code in insert_link.asp, I notice that when the "element" is taken in (in the javascript), it already has the prefix host attached to the relative link.  Is there any way to stop it from doing this so that the link in the Insert Hyperlink window matches what is actually there?
     
    I tested this on http://www.cutesoft.net/asp/EnableAll.asp and get the same result.
     
     
    Thanks,
    Nathan
View Complete Thread