Skip to content

Commit

Permalink
Use correct purifier call in TableDiff class
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver committed Jan 25, 2021
1 parent 7cd8c93 commit 2a84b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Caxy/HtmlDiff/Table/TableDiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ protected function createDocumentWithHtml($text)
{
$dom = new \DOMDocument();
$dom->loadHTML(mb_convert_encoding(
$this->purifier->purify(mb_convert_encoding($text, $this->config->getEncoding(), mb_detect_encoding($text))),
$this->purifyHtml(mb_convert_encoding($text, $this->config->getEncoding(), mb_detect_encoding($text))),
'HTML-ENTITIES',
$this->config->getEncoding()
));
Expand Down

0 comments on commit 2a84b0b

Please sign in to comment.