Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-25695 wiki: enable anchor tags

  • Loading branch information...
commit e9eb08bef73d126ddc7a7e9c5e5ae8dd03c847d5 1 parent bd44a3b
@mackensen mackensen authored
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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.