Merge branch 'MDL-25695-master' of https://github.com/mackensen/moodle

This commit is contained in:
Aparup Banerjee
2012-05-15 11:03:07 +08:00
+1 -1
View File
@@ -1274,7 +1274,7 @@ function wiki_print_page_content($page, $context, $subwikiid) {
}
}
$html = file_rewrite_pluginfile_urls($page->cachedcontent, 'pluginfile.php', $context->id, 'mod_wiki', 'attachments', $subwikiid);
$html = format_text($html, FORMAT_MOODLE, array('overflowdiv'=>true));
$html = format_text($html, FORMAT_MOODLE, array('overflowdiv'=>true, 'allowid'=>true));
echo $OUTPUT->box($html);
if (!empty($CFG->usetags)) {