GHC 2021-05-20

5 comments.

, https://git.io/Js61W in johnsoncodehk/volar
Somewhat related (but probably not the same bug): I noticed another syntax highlighting problem since v0.25.4:

```vue
<template>
  <div>
    <div>
      <div>
        <template
          v-for="index in 10"
          :key="index"
        ></template>
      </div>
    </div>
  </div>
</template>
```

<img src="https://user-images.githubusercontent.com/4149852/118981803-561aa680-b9ad-11eb-84e3-29dff8bd0bd4.png" width="420">

At a certain point tags become plaintext.

This piece of code actually highlights alright in HTML mode.

Should I open a new issue?

, https://git.io/Js61l in johnsoncodehk/volar
Thanks for looking into the upstream issue! Unfortunately they delegate it to textmate/html.tmbundle which seems to hardly get any attention, and the issue has been outstanding for years: https://github.com/textmate/html.tmbundle/issues/101 I wonder if it's even worth the effort to submit your PR there instead.

, https://git.io/JsowP in johnsoncodehk/volar
https://github.com/microsoft/vscode/issues/124215

, https://git.io/JsowX in microsoft/vscode
svg tag in HTML mode incorrectly marked invalid when closing tag spans more than one line
=========================================================================================

Issue Type: <b>Bug</b>

Open a HTML file with the following content

```html
<!DOCTYPE html>
<html>
  <head>
    <title>Test</title>
  </head>
  <body>
    (<svg height="100" width="100">
      <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /></svg
    >)
    <p></p>
  </body>
</html>
```

This is valid HTML5 that passes W3C's validator. (The closing svg tag is broken up by Prettier.)

However, VSCode marks the svg closing tag as invalid, as well as everything after it:

![image](https://user-images.githubusercontent.com/4149852/118903374-41f18d80-b94a-11eb-97ae-4a04e7fe5734.png)

---

VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z)
OS version: Darwin x64 20.4.0

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (12 x 3200)|
|GPU Status|2d_canvas: enabled<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>webgl: enabled<br>webgl2: enabled|
|Load (avg)|2, 2, 2|
|Memory (System)|16.00GB (0.31GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|
</details>
<!-- generated by issue reporter -->

, https://git.io/JsoB8 in johnsoncodehk/volar
Yeah sorry, didn't occur to me that I should check html first... I'll report upstream.