From 659582e3550753c676842aeec3b8119f00de73fb Mon Sep 17 00:00:00 2001 From: xemlock Date: Sat, 5 Aug 2017 14:00:41 +0200 Subject: [PATCH] Use config schema singleton instance if none was provided --- library/HTMLPurifier/HTML5Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/HTMLPurifier/HTML5Config.php b/library/HTMLPurifier/HTML5Config.php index a0e9178..6c55240 100644 --- a/library/HTMLPurifier/HTML5Config.php +++ b/library/HTMLPurifier/HTML5Config.php @@ -10,7 +10,7 @@ class HTMLPurifier_HTML5Config public static function create($config = null, HTMLPurifier_ConfigSchema $schema = null) { if (!$schema instanceof HTMLPurifier_ConfigSchema) { - $schema = HTMLPurifier_ConfigSchema::makeFromSerial(); + $schema = HTMLPurifier_ConfigSchema::instance(); } if ($config instanceof HTMLPurifier_Config) {