mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use same empty tag rules for html inheritors
#WEB-21068 fixed
This commit is contained in:
@@ -83,7 +83,7 @@ public class CheckEmptyTagInspection extends XmlSuppressableInspectionTool {
|
||||
|
||||
Language language = tag.getLanguage();
|
||||
return ourTagsWithEmptyEndsNotAllowed.contains(tagName) && language != XMLLanguage.INSTANCE ||
|
||||
language == HTMLLanguage.INSTANCE && !HtmlUtil.isSingleHtmlTagL(tagName) && tagName.indexOf(':') == -1;
|
||||
language.isKindOf(HTMLLanguage.INSTANCE) && !HtmlUtil.isSingleHtmlTagL(tagName) && tagName.indexOf(':') == -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user