Skip to content

fix: exclude preheader from plaintext - #1957

Merged
cossssmin merged 1 commit into
masterfrom
fix/preheader-not-in-plaintext
Nov 3, 2026
Merged

cossssmin merged 1 commit into
masterfrom
fix/preheader-not-in-plaintext

Conversation

@cossssmin

Copy link
Copy Markdown
Member

Re-opening #1956 against master - it was merged into fix/output-markers-entities after #1953 had already landed, so the change never reached master.

The preheader is inbox preview text for the HTML version, so it shouldn't open the plaintext version too. <Preheader> and usePreheader() now mark it as HTML-only, like <NotPlaintext> does. Depends on #1953 (already merged), which keeps entities intact when the HTML-only marker is stripped.

🤖 Generated with Claude Code

The preheader is inbox preview text for the HTML version, so it
shouldn't open the plaintext version too. `<Preheader>` and
`usePreheader()` now mark it as HTML-only, like `<NotPlaintext>`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 36024798-151f-45a3-95ab-b5b855ae813d
Commits

Reviewing files that changed from the base of the PR and between 8e5c5ff and d02a52e.

Files selected for processing: 3
  • src/components/Preheader.vue
  • src/render/createRenderer.ts
  • src/tests/render/composables.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@cossssmin
cossssmin merged commit 4e4cd3d into master Nov 3, 2026
9 checks passed
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.

1 participant