From 80e376a20daa278cffa50143e60c1816bcbabefb Mon Sep 17 00:00:00 2001 From: moodler Date: Sun, 8 Feb 2004 09:47:29 +0000 Subject: [PATCH] Use format_text instead of text_to_html (so filtering works) --- mod/journal/lib.php | 2 +- mod/journal/view.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/journal/lib.php b/mod/journal/lib.php index 8dfe822c5d..f2dde17c54 100644 --- a/mod/journal/lib.php +++ b/mod/journal/lib.php @@ -471,7 +471,7 @@ function journal_print_feedback($course, $entry, $grades) { } echo "

"; - echo text_to_html($entry->comment); + echo format_text($entry->comment); echo ""; echo ""; } diff --git a/mod/journal/view.php b/mod/journal/view.php index 23f2011bfc..916c998700 100644 --- a/mod/journal/view.php +++ b/mod/journal/view.php @@ -45,7 +45,7 @@ echo "
\n"; - print_simple_box( text_to_html($journal->intro, $journal->introformat) , "center"); + print_simple_box( format_text($journal->intro, $journal->introformat) , "center"); echo "
"; -- 2.39.5