Skip to content

fix: split pane html conv and table fix#1246

Merged
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:fix/htmlconv
May 7, 2026
Merged

fix: split pane html conv and table fix#1246
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:fix/htmlconv

Conversation

@andrinoff
Copy link
Copy Markdown
Member

What?

Fixes split pane HTML conversion, according to #1213

Also changes in view/html.go:

  • Extracted element loop into renderHTMLToText helper.
  • processBody now: if mimeType == text/html and direct render is whitespace-only, retry through markdownToHTML pre-pass

Why?

Certain emails are not displayed correctly, as pointed by @EmilyxFox. Also, split pane was displaying emails incorrectly not as per #1213 fix.

Signed-off-by: drew <me@andrinoff.com>
@andrinoff andrinoff requested a review from a team as a code owner May 7, 2026 08:34
@andrinoff
Copy link
Copy Markdown
Member Author

/build

Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

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

Hi @andrinoff! Please fix the following issues with your PR:

  • Title: Is too long (40 characters). The PR title must be strictly under 40 characters.

@floatpanebot floatpanebot added area/tui Terminal UI / view layer bug Something isn't working labels May 7, 2026
@andrinoff andrinoff changed the title fix: split pane html conv and tables fix fix: split pane html conv and table fix May 7, 2026
@floatpanebot floatpanebot dismissed their stale review May 7, 2026 08:35

Formatting issues have been resolved. Thank you!

@floatpanebot
Copy link
Copy Markdown
Member

Build complete (f327f42)

Warning

This is an unreviewed PR build and has not been security audited. It may contain bugs, vulnerabilities, or malicious code. Do not use for daily use. Only use for testing purposes.

OS Arch Download
Linux amd64 matcha_preview_linux_amd64.tar.gz
Linux arm64 matcha_preview_linux_arm64.tar.gz
macOS amd64 matcha_preview_darwin_amd64.tar.gz
macOS arm64 matcha_preview_darwin_arm64.tar.gz
Windows amd64 matcha_preview_windows_amd64.zip
Windows arm64 matcha_preview_windows_arm64.zip

Copy link
Copy Markdown
Member

@LeaWhoCodes LeaWhoCodes left a comment

Choose a reason for hiding this comment

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

lgtm

@andrinoff
Copy link
Copy Markdown
Member Author

/approve

Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

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

Approved on behalf of @andrinoff via /approve command.

@andrinoff andrinoff merged commit 05651d4 into floatpane:master May 7, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tui Terminal UI / view layer bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants