data = $data; $this->is_whitespace = ctype_space ( $data ); $this->line = $line; $this->col = $col; } public function toNode() { return new HTMLPurifier_Node_Text ( $this->data, $this->is_whitespace, $this->line, $this->col ); } } // vim: et sw=4 sts=4