Skip to content

Commit 4832fc5

Browse files
committed
Pass config to purify
1 parent d6a50dc commit 4832fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/Services/Infrastructure/HtmlPurifier/HtmlPurifierService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ public function purify(?string $html): string
2222
$config = HTMLPurifier_Config::createDefault();
2323
$config->set('Cache.SerializerPath', base_path('storage/framework/cache'));
2424

25-
return $this->htmlPurifier->purify($html);
25+
return $this->htmlPurifier->purify($html, $config);
2626
}
2727
}

0 commit comments

Comments
 (0)