boolean (String text, final ASTNode injectionHost) { IElementType type = injectionHost.getElementType(); if (type == XmlElementType.XML_TEXT) { return true; } else if (type == XmlElementType.XML_COMMENT) { // <!--[if IE]>, <![endif]--> of conditional comments injection return true; } return text.isEmpty(); }