Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…y filters. MDL-16372
  • Loading branch information...
commit d0fd3458fc245d9b402a3a72fbc3f769ca149877 1 parent e1a609c
stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/glossary/lib.php
2  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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.