public function html()
    {
        if ($this::$callback !== null) {
            call_user_func($this::$callback, $this);
        }

        return trim($this->document->saveHTML($this->document->documentElement));
    }