themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch: * New format_text argument, overflowdiv. * New page layout Report. * Review of all format_text calls. * Added support for the report layout to all themes. * Changed forum post display from tables to divs.
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ function note_print($note, $detail = NOTES_SHOW_FULL) {
|
||||
// print note content
|
||||
if ($detail & NOTES_SHOW_BODY) {
|
||||
echo '<div class="content">';
|
||||
echo format_text($note->content, $note->format);
|
||||
echo format_text($note->content, $note->format, array('overflowdiv'=>true));
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user