GHC 2021-05-19

2 comments.

, https://git.io/Jsr39 in johnsoncodehk/volar
svg tag in template incorrectly marked red when closing tag spans more than one line
====================================================================================

Consider this simple example

```vue
<template>
  (<svg height="100" width="100">
    <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /></svg
  >)
  <p></p>
</template>
```

produced by Prettier. It's not a shining example of good formatting, but it's valid HTML and valid Vue template. (I can share the Prettier config, but that's not terribly relevant.) Volar doesn't like the svg closing tag though, and marks it and everything after it in red:

![image](https://user-images.githubusercontent.com/4149852/118848118-09799180-b901-11eb-95d4-4699e5a60223.png)

I only noticed this problem with svg. I wonder what's causing it.

## Version info

Volar v0.25.8
VSCode:
```
Version: 1.56.2
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:44:30.902Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: 8.9.255.24-electron.0
OS: Darwin x64 20.4.0
```

, https://git.io/JsVi7 in zmwangx/ets
Consider stripping \x1b[2K\x1b[1G which erases our timestamps
=============================================================

Yarn uses `\x1b[2K\x1b[1G` quite a bit to make sure their messages are at the beginning of the line. Of course we're competing to be at the beginning of the line instead, and our timestamps are simply erased. Maybe we should strip those out.