You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a script tag with a src parameter that does not have quotes then formatting the html page with FORMAT DOCUMENT does not work. It also does not work if you are using script tag with a type=module without putting quotes around the type="module".
This is very unexpected behaviour, should be easy to fix and took over an hour of swearing at VS Code, uninstalling clearing syncs, etc. The same is with Prettier. Finally found it in a Prettier log - but the same thing is happening in the default VS Code formatter.
VS Code version: Code 1.88.1 (e170252, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.22631
Modes:
<html>
<script type=module>
const x = 1;
</script>
</html>
aeschli
changed the title
Format does not work if script tag parameters do not have quotes
[html] Format does not work if script tag parameters do not have quotes
Apr 15, 2024
Type: Bug
If you use a script tag with a src parameter that does not have quotes then formatting the html page with FORMAT DOCUMENT does not work. It also does not work if you are using script tag with a type=module without putting quotes around the type="module".
This is very unexpected behaviour, should be easy to fix and took over an hour of swearing at VS Code, uninstalling clearing syncs, etc. The same is with Prettier. Finally found it in a Prettier log - but the same thing is happening in the default VS Code formatter.
VS Code version: Code 1.88.1 (e170252, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (9)
A/B Experiments
The text was updated successfully, but these errors were encountered: