Skip to content

Commit b77183b

Browse files
committed
Getter for raw html
1 parent e570797 commit b77183b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/PHPHtmlParser/Dom.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,4 +690,14 @@ protected function detectCharset()
690690

691691
return false;
692692
}
693+
694+
/**
695+
* Returns the raw html
696+
*
697+
* @return string
698+
*/
699+
public function getRaw()
700+
{
701+
return $this->raw;
702+
}
693703
}

0 commit comments

Comments
 (0)