From: stronk7 Date: Tue, 11 May 2004 18:06:56 +0000 (+0000) Subject: Now concepts are not enclosed by paragraph tags. Bug 1298. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d34b9c5f2d15b0bf48c521f6c2f01ccbe049fd76;p=moodle.git Now concepts are not enclosed by paragraph tags. Bug 1298. --- diff --git a/mod/glossary/lib.php b/mod/glossary/lib.php index eac977b16d..83c6e316d4 100644 --- a/mod/glossary/lib.php +++ b/mod/glossary/lib.php @@ -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('' . $entry->concept . '', $entry->format); + $options->para = false; + $text = format_text('' . $entry->concept . '', $entry->format, $options); if (!empty($entry->highlight)) { $text = highlight($entry->highlight, $text); }