Fix forum HTML description see #8214

remotes/angel/1.11.x
jmontoyaa 9 years ago
parent 284d08e2e2
commit aa21c8774a
  1. 3
      main/forum/index.php
  2. 2
      main/forum/viewforum.php

@ -514,10 +514,9 @@ if (is_array($forumCategories)) {
);
$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'
)

@ -410,7 +410,7 @@ if ($origin != 'learnpath') {
if (!empty($descriptionForum)) {
$html .= Display::tag(
'p',
strip_tags($descriptionForum),
Security::remove_XSS($descriptionForum),
array(
'class' => 'description',
)

Loading…
Cancel
Save