Bug report: replacement of anchor.href replaces anchor.innerText a

A

Artyom

Guest
If anchor.innerText contains the "@" sign, anchor.innerText is replaced with

anchor.href



here is the example of page that shows the misfunctionality.



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>



<body>



@@SomeText@@



<script type="text/javascript">

var anchors=document.getElementsByTagName('a');



for(var i=anchors.length-1;i>=0;i--)

anchors.href=decodeURI(anchors.href);

</script>



</body>

</html>





----------------

This post is a suggestion for Microsoft, and Microsoft responds to the

suggestions with the most votes. To vote for this suggestion, click the "I

Agree" button in the message pane. If you do not see the button, follow this

link to open the suggestion in the Microsoft Web-based Newsreader and then

click "I Agree" in the message pane.



http://www.microsoft.com/communitie...&dg=microsoft.public.internetexplorer.general
 
Since this is a peer-to-peer newsgroup, it isn't a bug reporting medium..

This is: http://connect.microsoft.com/



"Artyom" <Artyom@discussions.microsoft.com> wrote in message

news:6C894F73-7689-44DE-BD59-470DF82B2B19@microsoft.com...

: If anchor.innerText contains the "@" sign, anchor.innerText is replaced

with

: anchor.href

:

: here is the example of page that shows the misfunctionality.

:

: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

: <html>

:

: <body>

:

: @@SomeText@@

:

: <script type="text/javascript">

: var anchors=document.getElementsByTagName('a');

:

: for(var i=anchors.length-1;i>=0;i--)

: anchors.href=decodeURI(anchors.href);

: </script>

:

: </body>

: </html>

:

:

: ----------------

: This post is a suggestion for Microsoft, and Microsoft responds to the

: suggestions with the most votes. To vote for this suggestion, click the "I

: Agree" button in the message pane. If you do not see the button, follow

this

: link to open the suggestion in the Microsoft Web-based Newsreader and then

: click "I Agree" in the message pane.

:

:

http://www.microsoft.com/communitie...&dg=microsoft.public.internetexplorer.general
 
Bug report: replacement of anchor.href replaces anchor.innerTe

thank you very much! i'll send my feedback there



"Tom Willett" wrote:



> Since this is a peer-to-peer newsgroup, it isn't a bug reporting medium..

> This is: http://connect.microsoft.com/

>
 
Back
Top