Permalink
Browse files

Merge branch 's11_MDL-27999_wiki_preview_20' of github.com:dongsheng/…

…moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents ba55e33 + ab14ec0 commit ffd06a7394657ba1c60850d4e97d9263238e0c67 @stronk7 stronk7 committed Jun 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
2 mod/wiki/pagelib.php
@@ -1013,7 +1013,7 @@ protected function print_preview() {
$parseroutput = wiki_parse_content($data->contentformat, $text, $options);
$this->set_newcontent($text);
echo $OUTPUT->notification(get_string('previewwarning', 'wiki'), 'notifyproblem wiki_info');
- $content = format_text($parseroutput['parsed_text'], FORMAT_HTML, array('overflowdiv'=>true));
+ $content = format_text($parseroutput['parsed_text'], FORMAT_HTML, array('overflowdiv'=>true, 'filter'=>false));
echo $OUTPUT->box($content, 'generalbox wiki_previewbox');
$content = $this->newcontent;
}

0 comments on commit ffd06a7

Please sign in to comment.