Update once In the browser, go to Settings and more > Help and feedback > About Microsoft Edge (edge://settings/help). If the About page shows Microsoft Edge is up to date., you don't need to do anything. If the About page shows An update is available. Select Download and install to proceed.
Apparently phone number detection was introduced in Internet Explorer 11, but not on desktops.
Here are ways to control it, taken from this MS article: Phone number format recognition
x-ms-format-detection
attribute to "none".<meta name="format-detection" content="telephone=no"/>
To enable the behavior for an element (and its child elements), set the x-ms-format-detection
attribute to "phone" or "all".
To selectively control the behavior using JavaScript, use setAttribute
to change the value of the x-ms-format-detection
attribute of the associate element or its parent. (Note that this needs to be done before the element or the parent is rendered in the DOM; dynamic changes are not supported.)
If I understand the article correctly, if phone detection is disabled at the browser level, the x-ms-format-detection
attribute (or the meta tag) will be ignored.
Using the x-ms-format-detection="none"
worked for me. However I had to add it to the parent element.
For example my phone number was wrapped in a span class so I had to add it to parent div above. Adding directly to the span tag didn't fix the issue on edge for me.
Hope that helps
I've found a way that works perfect for me, and it consist on change the tag where you have the number by an "a" (anchor) instead of any one you may have, with no need of href. Then, set text-underline to none and color to inherit. That's all.
If you add x-ms-format-detection="none" to the body tag it will be applied to the whole page.
<body x-ms-format-detection="none">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With