Skip to content

Commit

Permalink
Fix forum HTML description see #8214
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed Apr 28, 2016
1 parent 284d08e commit aa21c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions main/forum/index.php
Expand Up @@ -514,10 +514,9 @@ function hidecontent(content){
);

$html .= '<h3 class="title">' . $iconForum . $linkForum . '</h3>';

$html .= Display::tag(
'p',
strip_tags($forum['forum_comment']),
Security::remove_XSS($forum['forum_comment']),
array(
'class'=>'description'
)
Expand Down
2 changes: 1 addition & 1 deletion main/forum/viewforum.php
Expand Up @@ -410,7 +410,7 @@
if (!empty($descriptionForum)) {
$html .= Display::tag(
'p',
strip_tags($descriptionForum),
Security::remove_XSS($descriptionForum),
array(
'class' => 'description',
)
Expand Down

0 comments on commit aa21c87

Please sign in to comment.