Skip to content

fix: replace SVGs with accessible alternatives in email template#51

Open
rubenhensen wants to merge 2 commits intomainfrom
fix/issue-29-postguard-website
Open

fix: replace SVGs with accessible alternatives in email template#51
rubenhensen wants to merge 2 commits intomainfrom
fix/issue-29-postguard-website

Conversation

@rubenhensen
Copy link
Contributor

@rubenhensen rubenhensen commented Mar 6, 2026

Summary

  • Replace PostGuard logo SVG with hosted PNG image (https://postguard.eu/pg_logo_no_text.png) for better email client compatibility
  • Replace checkmark SVG with HTML/unicode equivalent (&#10003; in a styled <span>) to avoid rendering issues in email clients that strip inline SVGs

Test plan

  • Send a file via PostGuard and verify the download email renders correctly
  • Verify the logo appears (PNG, not missing)
  • Verify the checkmark icon appears next to the sender email section
  • Test in multiple email clients (Gmail, Outlook, Apple Mail)

Closes encryption4all/postguard-website#29

Many email clients strip out SVGs for security and anti-tracking
reasons, causing the PostGuard logo to not render for a large portion
of recipients. Replace the inline SVG logo with a hosted PNG image
from postguard.eu.

Closes encryption4all/postguard-website#29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace SVG with PNG in email

1 participant