Skip to content

Commit 2a84b0b

Browse files
Use correct purifier call in TableDiff class
1 parent 7cd8c93 commit 2a84b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Caxy/HtmlDiff/Table/TableDiff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ protected function createDocumentWithHtml($text)
628628
{
629629
$dom = new \DOMDocument();
630630
$dom->loadHTML(mb_convert_encoding(
631-
$this->purifier->purify(mb_convert_encoding($text, $this->config->getEncoding(), mb_detect_encoding($text))),
631+
$this->purifyHtml(mb_convert_encoding($text, $this->config->getEncoding(), mb_detect_encoding($text))),
632632
'HTML-ENTITIES',
633633
$this->config->getEncoding()
634634
));

0 commit comments

Comments
 (0)