4 ms·
Why does VS Code auto add the closing <p> tag when you open them then? It doesn’t do it for, say, <img>. Bug?
by colejohnson66 7y ago
Why does VS Code auto add the closing <p> tag when you open them then? It doesn’t do it for, say, <img>. Bug?
- wizzwizz4 7y agoFeature. <p> tags can function as containers for text and other elements, and VS Code can't distinguish between <p>, with the special handling, and <div>, without it. Okay, to be fair, that does sound like a bug.