processEndTag method

  1. @override
Token? processEndTag(
  1. EndTagToken token
)
override

Implementation

@override
Token? processEndTag(EndTagToken token) {
  switch (token.name) {
    case 'caption':
      endTagCaption(token);
      return null;
    case 'table':
      return endTagTable(token);
    case 'body':
    case 'col':
    case 'colgroup':
    case 'html':
    case 'tbody':
    case 'td':
    case 'tfoot':
    case 'th':
    case 'thead':
    case 'tr':
      endTagIgnore(token);
      return null;
    default:
      return endTagOther(token);
  }
}