diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-06-14 00:54:28 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-06-14 00:54:28 +0000 |
commit | 37ef82183c1b1a5c17ab86ea0a71dafd52612d42 (patch) | |
tree | d55ef3dbf74a2f70dc2ed4e5168e5634888bfb15 | |
parent | c555bfb2aedcbd58469c551942fae56a0402de5a (diff) |
bug 389: font tag allowed in category html description for subcatify
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1353 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/category_recent_cats.inc.php | 2 | ||||
-rw-r--r-- | include/category_subcats.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/category_recent_cats.inc.php b/include/category_recent_cats.inc.php index b9aebcf2c..2663bbcb3 100644 --- a/include/category_recent_cats.inc.php +++ b/include/category_recent_cats.inc.php @@ -78,7 +78,7 @@ if ($conf['subcatify']) $comment = null; if (isset($row['comment'])) { - $comment = strip_tags($row['comment'], '<a><br><p><b><i><small><strong>'); + $comment = strip_tags($row['comment'], '<a><br><p><b><i><small><strong><font>'); } // for each category, we have to search a recent picture to display and diff --git a/include/category_subcats.inc.php b/include/category_subcats.inc.php index 60a7c4225..aefe8e392 100644 --- a/include/category_subcats.inc.php +++ b/include/category_subcats.inc.php @@ -94,7 +94,7 @@ SELECT representative_picture_id $comment = null; if (isset($row['comment'])) { - $comment = strip_tags($row['comment'], '<a><br><p><b><i><small><strong>'); + $comment = strip_tags($row['comment'], '<a><br><p><b><i><small><strong><font>'); } if (isset($image_id)) |