Permalink
Browse files

MDL-25695 wiki: enable anchor tags

  • Loading branch information...
1 parent ead4f18 commit 2f8b49d56993b0ac4146f257273edb5ecf89ae96 @mackensen mackensen committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/locallib.php
View
@@ -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)) {

0 comments on commit 2f8b49d

Please sign in to comment.