diff --git a/src/PHPHtmlParser/Dom.php b/src/PHPHtmlParser/Dom.php index 18f0c934..43ce2ae6 100644 --- a/src/PHPHtmlParser/Dom.php +++ b/src/PHPHtmlParser/Dom.php @@ -690,4 +690,14 @@ protected function detectCharset() return false; } + + /** + * Returns the raw html + * + * @return string + */ + public function getRaw() + { + return $this->raw; + } }