Emmet: Update Tag changes wrong tag pair in invalid HTML #73415
Labels
bug
Issue identified by VS Code Team member as probable bug
*duplicate
Issue identified as a duplicate of another issue(s)
emmet
Emmet related issues
Milestone
VS Code version: Code - Insiders 1.34.0-insider (daf7142, 2019-05-06T22:08:08.969Z)
OS version: Windows_NT x64 10.0.17134
Steps to Reproduce:
<span>
tagform
Expected result:
<span>
gets changed to<form>
even though it's a part of an invalid HTML. (Alternatively it could do nothing and show an error.)Actual result:
<div>
gets changed to<form>
unexpectedly.Related issue: #39789
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)| |GPU Status|2d_canvas: enabledchecker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|7.87GB (0.87GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
The text was updated successfully, but these errors were encountered: