Fix highlighting and all rich text formatting in emails by converting HTML tags to inline styles before sending. Email clients strip <style> blocks, so inline styles are the only reliable method. Changes: - Convert <mark> tags to <span> with inline background-color (#fef08a) - Add inline styles to all rich text elements (strong, em, u, s, headings, lists) - Process HTML conversion in email API before sending - Simplified email template by removing unreliable <style> block - All formatting now uses inline styles directly on elements This ensures highlights and all other formatting (bold, italic, underline, strikethrough, headings, lists) render correctly across all email clients including Gmail, Outlook, Apple Mail, etc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3.8 KiB
3.8 KiB