Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-25695 wiki: enable anchor tags

  • Loading branch information...
commit e9eb08bef73d126ddc7a7e9c5e5ae8dd03c847d5 1 parent bd44a3b
Charles Fulton authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  mod/wiki/locallib.php
2  mod/wiki/locallib.php
@@ -1273,7 +1273,7 @@ function wiki_print_page_content($page, $context, $subwikiid) {
1273 1273
         }
1274 1274
     }
1275 1275
     $html = file_rewrite_pluginfile_urls($page->cachedcontent, 'pluginfile.php', $context->id, 'mod_wiki', 'attachments', $subwikiid);
1276  
-    $html = format_text($html, FORMAT_MOODLE, array('overflowdiv'=>true));
  1276
+    $html = format_text($html, FORMAT_MOODLE, array('overflowdiv'=>true, 'allowid'=>true));
1277 1277
     echo $OUTPUT->box($html);
1278 1278
 
1279 1279
     if (!empty($CFG->usetags)) {

0 notes on commit e9eb08b

Please sign in to comment.
Something went wrong with that request. Please try again.