mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-20 12:39:19 -04:00
No longer run a safe HTML string through the HTML purifier (since it's already marked as safe). This also addresses the issue of calling purify() when no purifier is installed. In that case, we'd run clean() on a clean string (double HTML encoding). If this approach doesn't work out, we can still modify the fallback code of purify() to check if the string is already clean before calling clean() instead of purify().
5.5 KiB
5.5 KiB