mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-25695 wiki: enable anchor tags
This commit is contained in:
parent
ead4f180a0
commit
2f8b49d569
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user