Skip to content

Create HTML with dom.ts#$ function calls instead of string concatenation#105502

Merged
aeschli merged 2 commits intomicrosoft:masterfrom
annkamsk:dom-api-inspect-tokens
Aug 28, 2020
Merged

Create HTML with dom.ts#$ function calls instead of string concatenation#105502
aeschli merged 2 commits intomicrosoft:masterfrom
annkamsk:dom-api-inspect-tokens

Conversation

@annkamsk
Copy link
Contributor

This PR fixes #105501
It replaces construction of HTML elements by string concatenation in src/vs/editor/standalone/browser/inspectTokens.ts file by using dom.ts#$ function calls instead.

@aeschli aeschli merged commit c023937 into microsoft:master Aug 28, 2020
@aeschli
Copy link
Contributor

aeschli commented Aug 28, 2020

Thanks a lot @annkamsk !

@aeschli aeschli added this to the August 2020 milestone Aug 28, 2020
@aeschli aeschli added the editor-theming Issues related to the way themes are applied to editors label Aug 28, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

editor-theming Issues related to the way themes are applied to editors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trusted Types compatibility: use DOM API for creating HTML elements instead of string concatenation in inspectTokens.ts

2 participants