Searched refs:is_whitespace (Results 1 – 14 of 14) sorted by relevance
31 public $is_whitespace; variable in HTMLPurifier_Node_Text41 public function __construct($data, $is_whitespace, $line = null, $col = null) argument44 $this->is_whitespace = $is_whitespace;
17 public $is_whitespace = true; variable in HTMLPurifier_Node_Comment
30 public $is_whitespace; variable in HTMLPurifier_Token_Text43 $this->is_whitespace = ctype_space($data);49 … return new HTMLPurifier_Node_Text($this->data, $this->is_whitespace, $this->line, $this->col);
17 public $is_whitespace = true; variable in HTMLPurifier_Token_Comment
71 if ($next->is_whitespace) {100 if ($prev instanceof HTMLPurifier_Token_Text && $prev->is_whitespace) {
46 if (!$this->forwardUntilEndToken($i, $current, $nesting) && $token->is_whitespace) {51 if (!$token->is_whitespace || $this->_isInline($current)) {
58 if (!empty($node->is_whitespace)) {
86 if (!empty($node->is_whitespace)) {
82 if (!empty($node->is_whitespace)) {
74 if (($node instanceof HTMLPurifier_Node_Text && !$node->is_whitespace) ||
160 if (!empty($node->is_whitespace)) {
286 if (!is_whitespace($this->content[$i]) && 307 if (!is_whitespace($this->content[$i]) && !$this->content[$i]->is_null()) {331 if (!is_whitespace($this->content[$i]) && !$this->content[$i]->is_null()) {634 if (is_whitespace($last_item)) {837 if (!is_whitespace($this->_line[$i]) && 1014 while ($i >= 0 && is_whitespace($this->content[$i])) {
551 function is_whitespace(&$box) { function
443 function is_whitespace($c) { return (strpos("\t\n\r ",$c) !== false); } function470 if (!$state && is_whitespace($contents{$i})) continue;