9
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

HTMLメールでiPhoneに送ると日付と時間がアンカーになってしまった時の対処法

Last updated at Posted at 2020-11-10

metaタグを入れてみる

<meta name="format-detection" content="telephone=no,address=no,email=no,date=no">

標準メーラーだとダメでした。

特殊文字を入れる

<p>3月12日 21:00</p>

だとしたら

<p>3月&#8203;12日&#8203; 21&#8203;:&#8203;00</p>

このような形で&#8203;を入れてみる。

これでアンカーにならずにスタイルも効きます!

9
13
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
13

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?