3

I'm testing our company newsletter and for some reason our company address in the footer is getting auto-linked in Mail on iPhone. (Which we don't want) I presumed the meta tag below would prevent it, but it is still happening:

<meta name="format-detection" content="address=no"/>

Does Apple use a different tag?

rink.attendant.6
  • 44,500
  • 61
  • 101
  • 156
Anthony
  • 5,275
  • 11
  • 50
  • 86

2 Answers2

1

Just add a class to the address' container element and declare it in your head style snippet. For example:

.appleLinksBlack a {color: #000000 !important; text-decoration: none;}

And the footer address like :

<span class="appleLinksBlack">This address is being auto-linked in mac devices, but with the class the problem is solved :) </span>

Find more resources in litmus blog

mario ruiz
  • 880
  • 1
  • 11
  • 28
0

This site has all the best practices to test:

https://litmus.com/blog/update-banning-blue-links-on-ios-devices

<meta content="telephone=no" name="format-detection">
Leonardo Cavalcante
  • 1,274
  • 1
  • 16
  • 26