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

Highlighting breaks with svg in HTML #225414

Closed
hexadecimal233 opened this issue Aug 12, 2024 · 1 comment
Closed

Highlighting breaks with svg in HTML #225414

hexadecimal233 opened this issue Aug 12, 2024 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar

Comments

@hexadecimal233
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.92.1
  • OS Version: Windows 11

I was writing in vue and the highlighting seems to be glitched

Steps to Reproduce:

<template>
	<svg></svg
		>
</template>

<script lang="ts" setup>
//That doesn't work
</script>
<template>
	<svg></svg>
</template>

<script lang="ts" setup>
//That works
</script>

image
image

@alexr00
Copy link
Member

alexr00 commented Aug 13, 2024

I can repro. Linking to #202915, which is tracking all the issues that could be fixed by trying a new grammar

@alexr00 alexr00 added *duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar labels Aug 13, 2024
@alexr00 alexr00 closed this as completed Aug 13, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) grammar Syntax highlighting grammar
Projects
None yet
Development

No branches or pull requests

3 participants