PatriciaW
PatriciaW

Reputation: 913

How can I remove x-webdoc from emails using Drupal table of contents links?

I am creating newsletters using the Drupal simplenews module. I am using the tableofcontents module. However, on some clients (mostly Mac) the links don't work because they use x-webdoc.

Can anyone suggest how I can get standard links?

Upvotes: 3

Views: 3742

Answers (1)

PatriciaW
PatriciaW

Reputation: 913

The problem is an Apple bug. Apparently Apple Mail on El Capitan and also on iOS9 does not like named anchors.

The name attribute specifies the name of an anchor:
<a name="C4">Chapter 4</a>

I discovered this when I had the same problem with a MailChimp newsletter on both platforms but another mail app (Fastmail) on my iPhone had no problems. But AirMail on OS X seems to have the same problem. Strange.

Upvotes: 2

Related Questions