]> git.mjollnir.org Git - moodle.git/commitdiff
Now concepts are not enclosed by paragraph tags. Bug 1298.
authorstronk7 <stronk7>
Tue, 11 May 2004 18:06:56 +0000 (18:06 +0000)
committerstronk7 <stronk7>
Tue, 11 May 2004 18:06:56 +0000 (18:06 +0000)
mod/glossary/lib.php

index eac977b16d5a69132a667c6eb955ef20bcb1a8b2..83c6e316d421b2671ffd78438068217375a0b07f 100644 (file)
@@ -459,7 +459,8 @@ function glossary_print_entry($course, $cm, $glossary, $entry, $mode="",$hook=""
         return $return;
 }
 function  glossary_print_entry_concept($entry) {
-    $text = format_text('<nolink>' . $entry->concept . '</nolink>', $entry->format);
+    $options->para = false;
+    $text = format_text('<nolink>' . $entry->concept . '</nolink>', $entry->format, $options);
     if (!empty($entry->highlight)) {
         $text = highlight($entry->highlight, $text);
     }