boolean (PsiElement element) { PsiElement nextSibling = skipWhitespacesAndLeadingAsterisksForward(element); if (nextSibling == null) return true; String text = nextSibling.getText(); return isNullOrBlockTag(nextSibling) || startsWithHtmlBlockTag(text) || isNullOrBlockTag(nextSibling.getNextSibling()); }