Non-quoted attribute value in emmet abbreviation breaks parsing with attribute later down in abbreviation #126780
Labels
bug
Issue identified by VS Code Team member as probable bug
confirmed
Issue has been confirmed by VS Code Team member
emmet
Emmet related issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
upstream-issue-linked
This is an upstream issue that has been reported upstream
Milestone
Issue Type: Bug
In emmet abbreviations with several tag attributes included, a non-quoted attribute value causes the entire abbreviation until the next tag with an attribute to not be expanded.
Expected:
a[href=#]>p>a[href=#]
should expand into:
but instead expands into:
a[href=#]>p><a href="#"></a>
I.e., it expands as if everything up until the final
a[href=#]
was ignored.This has been tried with extensions entirely disabled, with other emmet abbreviation structures, and with different attribute values, to the same result.
(edit: included recording)
VS Code version: Code 1.57.1 (507ce72, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (15)
A/B Experiments
The text was updated successfully, but these errors were encountered: