use format_text, not text_to_html

This commit is contained in:
moodler
2003-10-13 14:03:48 +00:00
parent 27ca988aa7
commit 445b23013e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -128,7 +128,7 @@
"height=11 width=11 border=0 alt=\"$streditsummary\"></a></p>";
}
echo text_to_html($thissection->summary);
echo format_text($thissection->summary);
print_section($course, $thissection, $mods, $modnamesused);
@@ -216,7 +216,7 @@
"<img src=\"$CFG->pixpath/t/edit.gif\" border=0 height=11 width=11></a>";
}
echo text_to_html($thissection->summary);
echo format_text($thissection->summary);
print_section($course, $thissection, $mods, $modnamesused);
+2 -2
View File
@@ -115,7 +115,7 @@
"border=0 alt=\"$streditsummary\"></a></p>";
}
echo text_to_html($thissection->summary);
echo format_text($thissection->summary);
print_section($course, $thissection, $mods, $modnamesused);
@@ -206,7 +206,7 @@
"<img src=\"$CFG->pixpath/t/edit.gif\" height=11 width=11 border=0></a></p>";
}
echo text_to_html($thissection->summary);
echo format_text($thissection->summary);
print_section($course, $thissection, $mods, $modnamesused);