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
This commit is contained in:
parent
c555bfb2ae
commit
37ef82183c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue