mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Use format_text instead of text_to_html (so filtering works)
This commit is contained in:
parent
b53bff0767
commit
80e376a20d
2 changed files with 2 additions and 2 deletions
|
@ -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>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 />";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue