Fix formatting to act appropriately when the style of table header or list label is empty string by daxian-dbw · Pull Request #17463 · PowerShell/PowerShell · GitHub
Skip to content

Fix formatting to act appropriately when the style of table header or list label is empty string#17463

Merged
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:header
Jun 2, 2022
Merged

Fix formatting to act appropriately when the style of table header or list label is empty string#17463
daxian-dbw merged 1 commit intoPowerShell:masterfrom
daxian-dbw:header

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

PR Summary

Fix formatting to act appropriately when the style of table header or list label is empty string.
Before: The reset VT sequence is always appended.
After: Append reset VT sequence only if the style VT sequence is not an empty string.

Also fix a Null Ref exception when setting the format styles.

PR Checklist

@pull-request-quantifier-deprecated
Copy link
Copy Markdown

@daxian-dbw daxian-dbw merged commit 12de67c into PowerShell:master Jun 2, 2022
@daxian-dbw daxian-dbw deleted the header branch June 2, 2022 16:20
@ghost
Copy link
Copy Markdown

ghost commented Jun 22, 2022

@TravisEz13 TravisEz13 mentioned this pull request Sep 30, 2022
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Engine Indicates that a PR should be marked as an engine change in the Change Log Extra Small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants