public function htmlDecode($flags = ENT_COMPAT) { $str = html_entity_decode($this->str, $flags, $this->encoding); return static::create($str, $this->encoding); }