MDL-25695 wiki: enable anchor tags

This commit is contained in:
Charles Fulton 2012-04-20 12:47:23 -07:00
parent ead4f180a0
commit 2f8b49d569

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)) {