graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
557 stars 71 forks source link

Query result does not display tags #344

Closed pruss closed 2 years ago

pruss commented 2 years ago

Actual Behavior

Tags within a string get converted to HTML instead of displaying plain with tags

Title

Expected Behavior

\<h3>Title\</h3>

Steps to Reproduce the Problem Or Description

Specifications

Logs Of TS Server || GraphQL Language Service

acao commented 2 years ago

yikes! this is an xss issue, oops. we need to escape the tags at least

acao commented 2 years ago

this should address it!

https://github.com/graphql/vscode-graphql/pull/376