Permalink
Browse files

MDL-25695 wiki: enable anchor tags

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

Please sign in to comment.