Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
colejohnson66
on Jan 3, 2020
|
parent
|
context
|
favorite
| on:
Recover HD Using a Magnet
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
on Jan 4, 2020
[–]
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.
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: