This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
block-level element within <p> indents incorrectly #11382
Open
Description
In brackets.json, have the following for your preferences:
{
"closeTags": {
"whenOpening": false,
"whenClosing": true
}
}
Create an html file to edit. Type <p>
and press Enter/Return.
Type any block-level element, such as <ul>
and press Enter/Return.
Type </
and press Enter/Return.
Type </
and press Enter/Return.
What happens:
<p>
<ul>
</ul>
</
What should happen instead:
<p>
<ul>
</ul>
</p>
This issue does not happen with inline elements inside <p>
.
Version:
Release 1.3 build 1.3.0-16022 (release cd0a6aae5)
build timestamp: Fri Apr 24 2015 09:59:57 GMT+0100
OS:
Windows 8.1 Pro
64-bit
I think this was an issue in at least one previous version as well, if not all of them. But don't take my word for it.