summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-10-30 16:34:40 +0400
committerAndrew Dolgov <[email protected]>2012-10-30 16:34:40 +0400
commitd9f3f57b0596813c060088c51aa59cc6fc25c661 (patch)
tree42d05b0763889d2d18faafcbdf2861ef0f044674 /include
parent3795b730340bc3c34c054e3d41fe9e33e4a3dc96 (diff)
htmLawed: tweak allowed attributes (2)
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 35fcbc45a..2695b1cb9 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2593,7 +2593,7 @@
$res = trim($str); if (!$res) return '';
- $config = array('safe' => 1, 'deny_attribute' => 'style, width, height', 'comment' => 1, 'cdata' => 1);
+ $config = array('safe' => 1, 'deny_attribute' => 'style, width, height, class, id', 'comment' => 1, 'cdata' => 1);
$res = htmLawed($res, $config);
if (get_pref($link, "STRIP_IMAGES", $owner)) {