code: @Override
      public void endLink(ResourceReference reference, boolean freestanding, Map<String, String> parameters)
      {
          super.endLink(reference, freestanding, parameters);
  
          --this.linkDepth;
          this.previousEvent = Event.LINK;
      }
docs: {@inheritDoc}
  
  @since 2.5RC1