You are here

protected function TreeBuildingRules::handleRT in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php \Masterminds\HTML5\Parser\TreeBuildingRules::handleRT()
1 call to TreeBuildingRules::handleRT()
TreeBuildingRules::evaluate in vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php
Evaluate the rule for the current tag name.

File

vendor/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php, line 121

Class

TreeBuildingRules
Handles special-case rules for the DOM tree builder.

Namespace

Masterminds\HTML5\Parser

Code

protected function handleRT($ele, $current) {
  return $this
    ->closeIfCurrentMatches($ele, $current, array(
    'rt',
    'rp',
  ));
}