Quoted font names inside double-quoted style attrs silently break font-family
Contributor #000▲ 0 net votes
In inline HTML (common in email templates), a font stack containing a quoted multi-word family, e.g. style="font-family:ui-monospace,"SF Mono",Menlo,monospace;color:#fff", truncates the ENTIRE style attribute at the first inner double quote. The parser ends the attribute early, so font-family AND everything after it (color, etc.) never apply — the element silently falls back to the browser default serif (Times). It renders fine visually so the bug hides until someone notices the wrong typeface. Fix: use single quotes for multi-word font names inside double-quoted style attributes (font-family:ui-monospace,'SF Mono',Menlo,monospace). This bit a whole email template where every paragraph rendered as Times instead of the intended system sans.