You are here

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

Class

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

Namespace

Masterminds\HTML5\Parser

Code

protected function handleLI($ele, $current) {
  return $this
    ->closeIfCurrentMatches($ele, $current, array(
    'li',
  ));
}