From 2f8b49d56993b0ac4146f257273edb5ecf89ae96 Mon Sep 17 00:00:00 2001 From: Charles Fulton Date: Fri, 20 Apr 2012 12:47:23 -0700 Subject: [PATCH] MDL-25695 wiki: enable anchor tags --- mod/wiki/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/wiki/locallib.php b/mod/wiki/locallib.php index 522f417ee33..ff3b67a9d37 100644 --- a/mod/wiki/locallib.php +++ b/mod/wiki/locallib.php @@ -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)) {