code: public static String htmlDecode(final String encodedHtml) {
          validate(encodedHtml, NULL_STRING_PREDICATE, NULL_STRING_MSG_SUPPLIER);
          String[] entities = encodedHtml.split("&\\W+;");
          return Arrays.stream(entities).map(e -> HtmlEntities.decodedEntities.get(e)).collect(joining());
      }
docs: Converts all HTML entities to applicable characters.
  
  @param encodedHtml The encoded HTML
  @return The decoded HTML