[PR #2777] [MERGED] Escape HTML entities #25060

Open
opened 2026-01-31 09:07:00 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2777
Author: @mcpiroman
Created: 9/16/2019
Status: Merged
Merged: 9/17/2019
Merged by: @carlos-zamora

Base: masterHead: 2738-espace-html-copy


📝 Commits (2)

📊 Changes

1 file changed (+19 additions, -3 deletions)

View changed files

📝 src/buffer/out/textBuffer.cpp (+19 -3)

📄 Description

Summary of the Pull Request

Since MS Word apparently just got support for HTML entities, we can now properly escape them.

References

I omitted this in #2038 since Word didn't support them

PR Checklist

  • Closes How about running resize in both terminal and conhost? (#2738)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/2777 **Author:** [@mcpiroman](https://github.com/mcpiroman) **Created:** 9/16/2019 **Status:** ✅ Merged **Merged:** 9/17/2019 **Merged by:** [@carlos-zamora](https://github.com/carlos-zamora) **Base:** `master` ← **Head:** `2738-espace-html-copy` --- ### 📝 Commits (2) - [`b841a4a`](https://github.com/microsoft/terminal/commit/b841a4a07827b6582023cf99affa0d1c99a78f02) Escape HTML entities - [`9d882c6`](https://github.com/microsoft/terminal/commit/9d882c68e76840e6610b1bb55d7e1650b98a447e) Handle surrogates ### 📊 Changes **1 file changed** (+19 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/buffer/out/textBuffer.cpp` (+19 -3) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Since MS Word apparently just got support for HTML entities, we can now properly escape them. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References I omitted this in #2038 since Word didn't support them <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [X] Closes #2738 * [X] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:07:00 +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#25060