• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

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

A

Artyom

Flightless Bird
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>

<a href="#" onclick="return false;">@@SomeText@@</a>

<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
 
T

Tom Willett

Flightless Bird
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>
:
: <a href="#" onclick="return false;">@@SomeText@@</a>
:
: <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
 
A

Artyom

Flightless Bird
Re: 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/
>
 
Top