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

View file

@ -128,7 +128,7 @@
"height=11 width=11 border=0 alt=\"$streditsummary\"></a></p>"; "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); print_section($course, $thissection, $mods, $modnamesused);
@ -216,7 +216,7 @@
"<img src=\"$CFG->pixpath/t/edit.gif\" border=0 height=11 width=11></a>"; "<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); print_section($course, $thissection, $mods, $modnamesused);

View file

@ -115,7 +115,7 @@
"border=0 alt=\"$streditsummary\"></a></p>"; "border=0 alt=\"$streditsummary\"></a></p>";
} }
echo text_to_html($thissection->summary); echo format_text($thissection->summary);
print_section($course, $thissection, $mods, $modnamesused); 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>"; "<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); print_section($course, $thissection, $mods, $modnamesused);