Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix(a): workaround IE bug affecting mailto urls #2013

Closed
wants to merge 1 commit into from

Conversation

IgorMinar
Copy link
Contributor

Apparently there is a really weird bug in IE6-8 that causes anchor textContent
to be reset with href content when both contain @ symbol.

Inserting a bogus comment node into all anchor elements in IE works around this
browser bug.

I'm fixing the issue via directive because that way we'll fix it for jQuery as
well.

Closes #1949

Apparently there is a really weird bug in IE6-8 that causes anchor textContent
to be reset with href content when both contain @ symbol.

Inserting a bogus comment node into all anchor elements in IE works around this
browser bug.

I'm fixing the issue via directive because that way we'll fix it for jQuery as
well.

I fixed an e2e test too because it was incorrect.

Closes angular#1949
@IgorMinar
Copy link
Contributor Author

landed as 37e8b12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IE8 mailto shows up in anchor text
1 participant