code: void generateImpliedEndTags(String excludeTag) {
          while ((excludeTag != null && !currentElement().normalName().equals(excludeTag)) &&
                  inSorted(currentElement().normalName(), TagSearchEndTags))
              pop();
      }
docs: 11.2.5.2 Closing elements that have implied end tags<p/>
  When the steps below require the UA to generate implied end tags, then, while the current node is a dd element, a
  dt element, an li element, an option element, an optgroup element, a p element, an rp element, or an rt element,
  the UA must pop the current node off the stack of open elements.
  
  @param excludeTag If a step requires the UA to generate implied end tags but lists an element to exclude from the
  process, then the UA must perform the above steps as if that element was not in the above list.