Skip to content

Commit

Permalink
MDL-25695 wiki: enable anchor tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mackensen committed Apr 20, 2012
1 parent ead4f18 commit 2f8b49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/wiki/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2f8b49d

Please sign in to comment.