mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 's11_MDL-27999_wiki_preview_master' of github.com:dongsheng/moodle
This commit is contained in:
commit
4965f02087
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ class page_wiki_preview extends page_wiki_edit {
|
|||
$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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue