Home > Net >  vscode transforms <br> to <br></br>
vscode transforms <br> to <br></br>

Time:06-12

When typing <br> vscode transforms it to <br></br>.

Not sure if it is a plugin that causes the issue or not. Vue3 does not support <br></br> and throws an error.

Is it a way to disable this?

CodePudding user response:

It is built-in extension for VS Code called Emmet. You most definitely can customize it's settings in the settings.json file. If you don't know how to open settings.json, go here.

CodePudding user response:

It usually does that for me as well, but the computer takes a <br></br> as 2 <br> tags. I think it's a bug with the system, so I just remove the </br> tag. It's probably XHTML Formatting

  • Related