public void appendTo(StringBuilder builder) {
    builder.append("<hr>");
    if (getAuthor() != null) {
      builder.append("<b>Author:</b> ").append(getAuthor()).append("<br>");
    }
    if (getDate() != null) {
      builder.append("<b>Date:</b> ").append(DateFormatUtil.formatDateTime(getDate())).append("<br>");
    }
    builder.append(getText().replace("\n", "<br>")).append("<br>");
  }
public void appendTo(StringBuilder builder)