summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/p.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/p.php')
-rw-r--r--modules/gallery/helpers/p.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/p.php b/modules/gallery/helpers/p.php
index 0a6210dc..527467f6 100644
--- a/modules/gallery/helpers/p.php
+++ b/modules/gallery/helpers/p.php
@@ -19,6 +19,6 @@
*/
class p_Core {
static function clean($dirty_html) {
- return html::specialchars($dirty_html);
+ return GalleryHtmlPurifier::instance()->purify($dirty_html);
}
}