docs: static String escape(String value) {
          StringBuilder builder = new StringBuilder();
          for (int i = 0; i < value.length(); i++) {
              char c = value.charAt(i);
              String replacement = REPLACEMENTS.get(c);
              if (replacement != null) {
                  builder.append(replacement);
              } else {
                  builder.append(c);
              }
          }
          return builder.toString();
      }