Use format_text instead of text_to_html (so filtering works)

This commit is contained in:
moodler 2004-02-08 09:47:29 +00:00
parent b53bff0767
commit 80e376a20d
2 changed files with 2 additions and 2 deletions

View file

@ -471,7 +471,7 @@ function journal_print_feedback($course, $entry, $grades) {
} }
echo "</I></FONT></P>"; echo "</I></FONT></P>";
echo text_to_html($entry->comment); echo format_text($entry->comment);
echo "</TD></TR></TABLE>"; echo "</TD></TR></TABLE>";
echo "</TD></TR></TABLE>"; echo "</TD></TR></TABLE>";
} }

View file

@ -45,7 +45,7 @@
echo "<center>\n"; echo "<center>\n";
print_simple_box( text_to_html($journal->intro, $journal->introformat) , "center"); print_simple_box( format_text($journal->intro, $journal->introformat) , "center");
echo "<br />"; echo "<br />";