Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the title tag from the generated HTML #5595

Merged
merged 4 commits into from
Apr 29, 2020

Conversation

zadjii-msft
Copy link
Member

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

@zadjii-msft zadjii-msft changed the title Remove the title tag from the generated HTML since that seems to conf… Remove the title tag from the generated HTML Apr 27, 2020
@zadjii-msft zadjii-msft added Product-Terminal The new Windows Terminal. Needs-Second It's a PR that needs another sign-off labels Apr 28, 2020
@ghost ghost requested review from miniksa and leonMSFT April 28, 2020 14:56
@DHowett-MSFT
Copy link
Contributor

Needs-build-fix

@vadimkantorov
Copy link

I don't know if it's an issue, but maybe head should specify a charset (be it utf-8 or sth else?)

@DHowett-MSFT
Copy link
Contributor

admin merge: CI says code health passed.

@DHowett-MSFT DHowett-MSFT merged commit ea02128 into master Apr 29, 2020
@DHowett-MSFT DHowett-MSFT deleted the dev/migrie/b/5347-html-title-bad branch April 29, 2020 23:42
@ghost
Copy link

ghost commented May 5, 2020

🎉Windows Terminal Release Candidate v0.11.1251.0 (1.0rc1) has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Second It's a PR that needs another sign-off Product-Terminal The new Windows Terminal.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTML Copy sometimes inserts “Windows Terminal”; perhaps this is the TITLE element
4 participants