mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Don't clean posted text on input (will be cleaned on output).
Merged from MOODLE_14_STABLE
This commit is contained in:
parent
3cde8e9a99
commit
32ce883ee6
@ -120,7 +120,7 @@
|
||||
}
|
||||
|
||||
if ( $confirm and $form = data_submitted() ) {
|
||||
$form->text = clean_text($form->text, $form->format);
|
||||
//$form->text = clean_text($form->text, $form->format);
|
||||
|
||||
$newentry->entryid = $entry->id;
|
||||
$newentry->comment = $form->text;
|
||||
|
@ -41,7 +41,7 @@ if ( $confirm ) {
|
||||
$form->fullmatch = 0;
|
||||
}
|
||||
$timenow = time();
|
||||
$form->text = clean_text($form->text, $form->format);
|
||||
//$form->text = clean_text($form->text, $form->format);
|
||||
|
||||
$newentry->course = $glossary->course;
|
||||
$newentry->glossaryid = $glossary->id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user