Home
last modified time | relevance | path

Searched refs:currentNesting (Results 1 – 3 of 3) sorted by relevance

/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DInjector.php35 protected $currentNesting; variable in HTMLPurifier_Injector
107 $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];
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/
DAutoParagraph.php39 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)) {
DSafeObject.php74 $nest = count($this->currentNesting) - 1;
75 if ($nest >= 0 && $this->currentNesting[$nest]->name === 'object') {