Searched refs:currentNesting (Results 1 – 3 of 3) sorted by relevance
35 protected $currentNesting; variable in HTMLPurifier_Injector107 $this->currentNesting =& $context->get('CurrentNesting');149 if (!empty($this->currentNesting)) {150 $parent_token = array_pop($this->currentNesting);151 $this->currentNesting[] = $parent_token;160 if (!empty($this->currentNesting)) {161 for ($i = count($this->currentNesting) - 2; $i >= 0; $i--) {162 $node = $this->currentNesting[$i];
39 if (empty($this->currentNesting) || strpos($text, "\n\n") !== false) {90 } elseif (!empty($this->currentNesting) &&91 $this->currentNesting[count($this->currentNesting) - 1]->name == 'p') {117 if (!empty($this->currentNesting)) {
74 $nest = count($this->currentNesting) - 1;75 if ($nest >= 0 && $this->currentNesting[$nest]->name === 'object') {