Skip to content

Commit bdc4b09

Browse files
authored
Merge pull request microsoft#269206 from mjbvz/dev/mjbvz/perfect-sloth
Add insert and del elements to allowed chat html tags
2 parents 0944455 + b3b51ab commit bdc4b09

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/vs/base/browser/domSanitize.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export const basicMarkupHtmlTags = Object.freeze([
5454
'rp',
5555
'rt',
5656
'ruby',
57+
's',
5758
'samp',
5859
'small',
5960
'small',

src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const allowedChatMarkdownHtmlTags = Object.freeze([
2323
'blockquote',
2424
'br',
2525
'code',
26+
'del',
2627
'em',
2728
'h1',
2829
'h2',
@@ -32,10 +33,12 @@ export const allowedChatMarkdownHtmlTags = Object.freeze([
3233
'h6',
3334
'hr',
3435
'i',
36+
'ins',
3537
'li',
3638
'ol',
3739
'p',
3840
'pre',
41+
's',
3942
'strong',
4043
'sub',
4144
'sup',

0 commit comments

Comments
 (0)