protected boolean isEndTagRequired(@NotNull HtmlTagInfo tagInfo) {
    return !HtmlUtil.isTagWithOptionalEnd(tagInfo.getNormalizedName(), true)
           && !"html".equals(tagInfo.getNormalizedName())
           && !"body".equals(tagInfo.getNormalizedName());
  }
protected boolean isEndTagRequired(@NotNull HtmlTagInfo tagInfo)