Permalink
Browse files

Fix regression introduced by MDL-12029. Concepts must not be linked b…

…y filters. MDL-16372
  • Loading branch information...
1 parent e1a609c commit d0fd3458fc245d9b402a3a72fbc3f769ca149877 stronk7 committed Sep 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/glossary/lib.php
View
@@ -685,7 +685,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);
}

0 comments on commit d0fd345

Please sign in to comment.