public virtual bool IsClosedBy(Tag closer) => false;
public void AddTag(Tag tag) { Tags.AddLast(tag); }
public override bool IsClosedBy(Tag closer) { var c = (closer as HtmlTag); return c != null && c.htmlTag == htmlTag && mode == OpeningClosingMode.Opening && c.mode == OpeningClosingMode.Closing; }