简体   繁体   中英

vscode transforms <br> to <br></br>

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM