]> git.mjollnir.org Git - moodle.git/commitdiff
Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL...
authorstronk7 <stronk7>
Mon, 8 Sep 2008 23:06:16 +0000 (23:06 +0000)
committerstronk7 <stronk7>
Mon, 8 Sep 2008 23:06:16 +0000 (23:06 +0000)
mod/glossary/lib.php

index c3ffbcb0eb48a5039f4e581eef3e2a9d064f19d9..e005ecde6010b4860ab7b4151fb4c10bffd7d75d 100644 (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);
     }