Y
Hacker News
new
|
ask
|
show
|
jobs
by
colejohnson66
2356 days 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?
1 comments
wizzwizz4
2356 days ago
Feature. <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.
link
Okay, to be fair, that does sound like a bug.