Revert "Specify HTML.Doctype as HTML 4 Strict for HTML Purifier"
authorTim Düsterhus <timwolla@googlemail.com>
Wed, 8 Apr 2020 18:17:40 +0000 (20:17 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 18:17:40 +0000 (20:17 +0200)
wcfsetup/install/files/lib/system/html/input/filter/MessageHtmlInputFilter.class.php

index a56d07032ee7ad5a70c01d053ab620fd5816182c..f8d68497985cab39e3a674ed04bce79fdea50310 100644 (file)
@@ -52,7 +52,6 @@ class MessageHtmlInputFilter implements IHtmlInputFilter {
                        
                        $config->set('CSS.AllowedProperties', ['color', 'font-family', 'font-size']);
                        $config->set('HTML.ForbiddenAttributes', ['*@lang', '*@xml:lang']);
-                       $config->set('HTML.Doctype', 'HTML 4.01 Strict');
                        
                        $allowedSchemes = $config->get('URI.AllowedSchemes');
                        $allowedSchemes['ts3server'] = true;