-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using <font> tags for Outlook compatibility? #65
Comments
I put a very rough and ugly proof of concept up at goldenapples@d044396 It works well enough for my needs, but I haven't thought through all the edge cases that would need to be covered. Also, it obviously would need to be refactored to simplify a lot; I' haven't familiarized myself enough with the structure of the module to figure out how to do that yet. |
👎 I think it's better to just address Outlook's problems using |
I'm just starting to dig in to the mess of mail client compatibility, so I could be wrong here, but it seems like some versions of Outlook (2007, 2010, and 2013) will ignore font styles in inline
style=""
attributes. The only way I can find to make these clients render the desired font is to use a<font>
tag, like it was 1999.This is obviously painful. But it would be a lot more painful to have to code this by hand than to find a tool which would do it. I'm willing to work on a pull request for this feature if you think it belongs in juice.
As I envision it, there would be an option available, like
inlineFontTags
, which would default to false. If it were set to true, then every element which had afont-family
,font-size
, orcolor
applied to it would also have its content wrapped in a a<font>
tag with the appropriateface
,color
, andsize
attributes.Does this make sense, and is it something you see as worth including in juice?
The text was updated successfully, but these errors were encountered: