[PR #5595] Remove the title tag from the generated HTML #26384

Closed
opened 2026-01-31 09:15:43 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/5595

State: closed
Merged: Yes


Summary of the Pull Request

Web apps apparently will paste the <title> as plaintext before the actual HTML content from the clipboard. Since this seems to be widespread behavior across web apps, this isn't just a bug in some app, this is a bug on us. We shouldn't emit the title.

This PR removes the title tag from the generated HTML.

PR Checklist

Validation Steps Performed

Above is composing an email with copied text from 0.11.
Below is using the same webmail client to compose an email with this patch
image

**Original Pull Request:** https://github.com/microsoft/terminal/pull/5595 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Web apps apparently will paste the \<title\> as plaintext before the actual HTML content from the clipboard. Since this seems to be widespread behavior across web apps, this isn't just a bug in _some app_, this is a bug on us. We shouldn't emit the title. This PR removes the title tag from the generated HTML. ## PR Checklist * [x] Closes #5347 * [x] I work here * [ ] Tests added/passed * [n/a] Requires documentation to be updated ## Validation Steps Performed Above is composing an email with copied text from 0.11. Below is using the same webmail client to compose an email with this patch ![image](https://user-images.githubusercontent.com/18356694/80400094-ee645b80-887f-11ea-9b9f-f4eb2f414f5b.png)
claunia added the pull-request label 2026-01-31 09:15:43 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26384