public function loadStr($str, $option)
{
$this->options = new Options();
$this->options->setOptions($this->globalOptions)->setOptions($option);
$this->rawSize = strlen($str);
$this->raw = $str;
$html = $this->clean($str);
$this->size = strlen($str);
$this->content = new Content($html);
$this->parse();
$this->detectCharset();
return $this;
}