HTML copied text has invalid background after last char in row #2965

Closed
opened 2026-01-30 23:09:50 +00:00 by claunia · 3 comments
Owner

Originally created by @mcpiroman on GitHub (Jul 27, 2019).

Environment

(note that HTML copy is not yet on master)

Steps to reproduce

In terminal:
image

Pasted to Word:

Expected behavior

image

Actual behavior

image

The color is taken form the first copied cell, X in this example.

Originally created by @mcpiroman on GitHub (Jul 27, 2019). ## Environment (note that HTML copy is not yet on master) ## Steps to reproduce In terminal: ![image](https://user-images.githubusercontent.com/38111589/61994864-a8743000-b080-11e9-9de7-6b91bf93597a.png) Pasted to Word: ## Expected behavior ![image](https://user-images.githubusercontent.com/38111589/61994710-5a5e2d00-b07e-11e9-981c-a4efbdff382a.png) ## Actual behavior ![image](https://user-images.githubusercontent.com/38111589/61994721-91344300-b07e-11e9-9b5c-750636d08b32.png) The color is taken form the first copied cell, `X` in this example.
Author
Owner

@DHowett-MSFT commented on GitHub (Aug 16, 2019):

Interesting. You filed this based on your pull request to GenHTML. Would you be interested in taking a look at it??

@DHowett-MSFT commented on GitHub (Aug 16, 2019): Interesting. You filed this based on your pull request to GenHTML. Would you be interested in taking a look at it??
Author
Owner

@mcpiroman commented on GitHub (Aug 16, 2019):

It's mostly about html things like enforcing proper width of spans, and I'm moderately familiar with html. I might take it once I have more time.

@mcpiroman commented on GitHub (Aug 16, 2019): It's mostly about html things like enforcing proper width of spans, and I'm moderately familiar with html. I might take it once I have more time.
Author
Owner

@ghost commented on GitHub (Sep 24, 2019):

:tada:This issue was addressed in #2762, which has now been successfully released as Windows Terminal Preview v0.5.2661.0.🎉

Handy links:

@ghost commented on GitHub (Sep 24, 2019): :tada:This issue was addressed in #2762, which has now been successfully released as `Windows Terminal Preview v0.5.2661.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.5.2661.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2965