Don't Decrement Indent Level in Mixed Content

issue: #257
This commit is contained in:
Josh Johnson 2019-06-01 00:08:00 -04:00
parent fd40e6e18b
commit 66e2836708

View File

@ -224,7 +224,9 @@ export class V2XmlFormatter implements XmlFormatter {
// entering EndTag
else if (isLocation(Location.Text) && cc === "<" && nc === "/") {
indentLevel--;
if (!inMixedContent) {
indentLevel--;
}
refreshMixedContentFlag();