boolean (@Nullable XmlElementDescriptor descriptor) { if (descriptor == null) return false; final @NonNls String name = descriptor.getName(); return HtmlUtil.STYLE_TAG_NAME.equals(name) || HtmlUtil.SCRIPT_TAG_NAME.equals(name); }