private static boolean startsWithHtmlBlockTag(String text) {
    String startTag = HtmlUtil.getStartTag(text);
    if (startTag == null) return false;
    return HtmlUtil.isHtmlBlockTag(startTag, false) || "br".equalsIgnoreCase(startTag);
  }
private static boolean startsWithHtmlBlockTag(String text)