You are here

protected function TreeBuildingRules::handleDT 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::handleDT()
1 call to TreeBuildingRules::handleDT()
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 113

Class

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

Namespace

Masterminds\HTML5\Parser

Code

protected function handleDT($ele, $current) {
  return $this
    ->closeIfCurrentMatches($ele, $current, array(
    'dt',
    'dd',
  ));
}