Search code examples
html-emailnumber-formattingwindows-10-desktop

How to stop Windows 10 Mail app to create links/contacts from numbers?


Windows 10 Mail app converts some numbers to links/contacts automatically in html emails. Usually numbers or part of numbers with 000-s:

enter image description here

How can i stop this? I've tried with "text-decoration:none; text-transform:none;" but it didn't worked.

Thanks!


Solution

  • This is very common, and occurs also in many mobile apps. What they are trying to do is be 'helpful' and convert them to phone numbers (typically).

    To get rid of this, you can add an odd character that will break their find & replace: ‌ (zero-width non-joiner)

    So in full:

    Test number: 7 ‌000 ‌000 ‌000 USD
    

    You'll need to do this to break any combination of 6 or more numbers.