code: private static String getInnerText(Element e, boolean normalizeSpaces) {
          String textContent = e.text().trim();
  
          if (normalizeSpaces) {
              textContent = textContent.replaceAll(Patterns.REGEX_NORMALIZE, "");
          }
  
          return textContent;
      }
docs: Get the inner text of a node - cross browser compatibly. This also strips
  out any excess whitespace to be found.
  
  @param e
  @param normalizeSpaces
  @return