If you have a website with a lot of text on it, you might discover that iOS and Internet Explorer will sometimes add links when they think they discovered a phone number.
A lot of the time the detection is wrong and might even destroy a bit of the layout of the page.
To fix this you have to add some attributes to the page to disable the automatic format detection.
For IE you have to add the x-ms-format-detection
attribute and set it to none
in the html
header, like so:
<html lang="en" x-ms-format-detection="none">
See MDN for details.
For iOS/Safari you have to add this meta attribute:
<meta name="format-detection" content="telephone=no">
See the Apple Developer documentation for details.
It seems the list of stuff you have to add to a page to make it work smoothly everywhere gets longer and longer by every year.
A rather complete list of things you could put into the header can be found on htmlhead.dev.