diff options
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php index 6d6284ab2..61c731167 100755 --- a/include/text.php +++ b/include/text.php @@ -122,6 +122,7 @@ function purify_html($s) { $config = HTMLPurifier_Config::createDefault(); $config->set('Cache.DefinitionImpl', null); + $config->set('Attr.EnableID', true); $purifier = new HTMLPurifier($config); return $purifier->purify($s); |