Skip to content

HTML tags are stripped from user messages in Chat #266103

@tamuratak

Description

@tamuratak

Name: GitHub Copilot Chat
Id: GitHub.copilot-chat
Description: AI chat features powered by Copilot
Version: 0.31.2025091003
Publisher: GitHub
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat

Version: 1.104.0-insider
Commit: f220831
Date: 2025-09-09T22:13:39.933Z
Electron: 37.3.1
ElectronBuildId: 12342881
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 24.6.0

HTML tags are stripped from user messages in Chat.

Steps to Reproduce:

  1. Type HTML tags such as <h1>AAA</h1> without any other text in Chat.
  2. The inputs are removed from the message UI in Chat.

They should instead be displayed in escaped form.

Image

cc: @mjbvz

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions