Skip to content

fix html preview rendering in tracy panel#46

Open
zraly wants to merge 2 commits intonextras:masterfrom
zraly:codex/fix-html-preview-upstream
Open

fix html preview rendering in tracy panel#46
zraly wants to merge 2 commits intonextras:masterfrom
zraly:codex/fix-html-preview-upstream

Conversation

@zraly
Copy link

@zraly zraly commented Feb 11, 2026

This fixes HTML preview rendering in the Tracy panel.

Problem:

  • some emails were shown as source text in "Preview HTML" even though the email contained a valid text/html part

What changed:

  • switched preview generation to use a dedicated previewHtml filter
  • extract HTML robustly from MIME parts (with decoding)
  • keep "Open" and "Preview HTML" rendering consistent
  • added regression tests

Fixes #29

Copy link
Author

@zraly zraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 10f0f88. Could you please re-review?

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.

HTML preview displays escaped HTML tags as noescaped

2 participants