Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception strings get evaluated as HTML, brackets do not get escaped #13056

Closed
kwikwag opened this issue Mar 11, 2023 · 2 comments
Closed

Exception strings get evaluated as HTML, brackets do not get escaped #13056

kwikwag opened this issue Mar 11, 2023 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@kwikwag
Copy link

kwikwag commented Mar 11, 2023

Environment data

  • VS Code version: 1.76.0 (user setup)
  • Jupyter Extension version (available under the Extensions sidebar): v2023.2.1200692131
  • Python Extension version (available under the Extensions sidebar): v2023.4.1
  • OS (Windows | Mac | Linux distro) and version: Windows_NT x64 10.0.22621
  • Python and/or Anaconda version: 3.9.15
  • Type of virtual environment used: conda
  • Jupyter server running: Local

Expected behaviour

Exception message string should be displayed as given.

Actual behaviour

The exception string gets interpreted as HTML, effectively hiding anything that lies inside angle brackets.

Steps to reproduce:

Run the following command in cell-mode:

raise Exception('<an error>')

exception-brackets

@kwikwag kwikwag added the bug Issue identified by VS Code Team member as probable bug label Mar 11, 2023
@DonJayamanne
Copy link
Contributor

Looks like a regression @rebornix @amunger /cc

@DonJayamanne DonJayamanne assigned rebornix and amunger and unassigned DonJayamanne Mar 11, 2023
@amunger
Copy link
Contributor

amunger commented Mar 17, 2023

duplicate of microsoft/vscode#177405

@amunger amunger closed this as completed Mar 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants