teachers complaint to me that the HTML layouts (rich formatting) they apply to the intro box of forums does not
show up after they apply it and show it to the students.
especially problematic when some of the text is justified to the right (Hebrew rtl) and some instructions are
(supposed to be) justified to the left (English ltr)
so i found out that the intro field is filtered by the format_text() function.
i removed it since i see no point (security wise) to have this specific piece of content filtered since the teachers
are responsible for the content and most of the time they try to embed multimedia and rich HTML code for the
benefit of the students.
so i change mod/forum/view.php (line 260) from
print_box(format_text($forum->intro), 'generalbox', 'intro');
to...
print_box($forum->intro, 'generalbox', 'intro');
i hope it is ok
- will be (partly) resolved by
-
MDL-16072 File storage conversion Forum
-
- Closed
-