code: protected String escapeHtml(String value) {
          StringBuilder escaped = new StringBuilder();
  
          for (int i = 0, len = value.length(); i < len; i++) {
              final char c = value.charAt(i);
  
              if (c == '"') {
                  escaped.append("&quot;");
              } else if (c == '&') {
                  escaped.append("&amp;");
              } else if (c == '<') {
                  escaped.append("&lt;");
              } else if (c == '>') {
                  escaped.append("&gt;");
              } else {
                  escaped.append(c);
              }
          }
  
          return escaped.toString();
      }
docs: Escapes the HTML special characters: {@code " & < >}
  
  @param value The value to escape
  @return the input value with any instances of HTML special characters converted to character entities.