IDEA-89620 Collapse inline CSS: add option to disable

- fix attribute collapsing for empty tags
This commit is contained in:
Alexander Zolotov
2012-08-02 15:57:43 +04:00
parent 6927d100f9
commit 87cb8feb74
@@ -77,9 +77,8 @@ public class XmlFoldingBuilder implements FoldingBuilder, DumbAware {
}
protected void addElementsToFold(List<FoldingDescriptor> foldings, XmlElement tag, Document document) {
if (addToFold(foldings, tag, document)) {
doAddForChildren(tag, foldings, document);
}
addToFold(foldings, tag, document);
doAddForChildren(tag, foldings, document);
}
protected void doAddForChildren(final XmlElement tag, final List<FoldingDescriptor> foldings, final Document document) {