SetHTML UrlEncoded not properly

  •  04-30-2009, 3:32 PM

    SetHTML UrlEncoded not properly

    Hi
     
    I am experiencing a problem with SetHTML:
    SetHTML automatically encodes the parameter I pass in. If I pass in a URL with multiple query string, it screws up the & (See following code example). Can this be resolved?

    var editor1 = document.getElementById('<%=editor1.ClientID %>');

    editor1.SetHTML("<a href='http://www.test.com/track.aspx?t=e&l=fdkslfj&y=889'>test</a>");
     
    If I go the HTML view in the cuteEditor. The output is :
    <a href="http://www.eyereturn.com/track.aspx?t=e&amp;l=fdkslfj&amp;y=889">test</a>
     
    Thanks,
    David
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems