Foundation-emails: ' not rendered in outlook

Created on 24 Mar 2016  Â·  8Comments  Â·  Source: foundation/foundation-emails

How can we reproduce this bug?
The password template example. https://litmus.com/checklist/emails/public/96b083d#ol2013

What did you expect to happen?
An apostrophe to appear.

What happened instead?
An ' appeared.

What email clients does this happen in?
Looks like all the Outlook examples.

Would ' be a better escaped apostrophe to render to?

Inky bug

Most helpful comment

We have a fix in for this, we're testing it.

All 8 comments

We noticed this too! Tried some different variations of character code and still not working. Hoping someone has experience with this!

Looks like it's the inliner causing it - https://github.com/jonkemp/gulp-inline-css/issues/4

We'll try updating to see if it helps.

in the meantime it seems possible to use ’ which is ’, it does render correctly

Oh nice! I went into the dist compiled version and changes it back to a '

We have a fix in for this, we're testing it.

Looks like this is an issue due to Cheerio used in Inky. There was a suggested solution we're testing now.

It was recommended to swap the character to ’

There is a PR on Cheerio to fix this that needs testing https://github.com/cheeriojs/cheerio/issues/319

Merged in https://github.com/zurb/inky/pull/57 after testing it and it resolves all the reported Inky issues here: https://github.com/zurb/foundation-emails/blob/develop/test/visual/pages/inliner-bugs.html

If you have more use cases that should be covered, please add them to this test and file a new issue.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings