Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL-16372 ; merged from 19_STABLE

This commit is contained in:
stronk7 2008-09-08 23:06:16 +00:00
parent 2a389207d1
commit 46712419fb

View File

@ -682,7 +682,7 @@ function glossary_print_entry_default ($entry) {
function glossary_print_entry_concept($entry) {
$options = new object();
$options->para = false;
$text = format_text(print_heading($entry->concept, '', 3, 'nolink', true), FORMAT_MOODLE, $options);
$text = format_text(print_heading('<span class="nolink">' . $entry->concept . '</span>', '', 3, 'nolink', true), FORMAT_MOODLE, $options);
if (!empty($entry->highlight)) {
$text = highlight($entry->highlight, $text);
}