Better solution for MDLSITE-152
This commit is contained in:
+2
-2
@@ -2208,8 +2208,8 @@ function forum_print_post(&$post, $courseid, $ownpost=false, $reply=false, $link
|
||||
echo '<td class="topic starter">';
|
||||
}
|
||||
|
||||
if (!empty($post->subjectkeeplinks)) {
|
||||
echo '<div class="subject">'.format_string($post->subject, false).'</div>';
|
||||
if (!empty($post->subjectnoformat)) {
|
||||
echo '<div class="subject">'.$post->subject.'</div>';
|
||||
} else {
|
||||
echo '<div class="subject">'.format_string($post->subject).'</div>';
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
}
|
||||
|
||||
$post->subject = $fullsubject;
|
||||
$post->subjectkeeplinks = true;
|
||||
$post->subjectnoformat = true;
|
||||
|
||||
// Identify search terms only found in HTML markup, and add a warning about them to
|
||||
// the start of the message text. However, do not do the highlighting here. forum_print_post
|
||||
|
||||
Reference in New Issue
Block a user