From: stronk7 Date: Tue, 24 Aug 2004 22:59:54 +0000 (+0000) Subject: Don't clean posted text on input (will be cleaned on output). X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=32ce883ee6f2026bc3ebaf42bc7d3ed6e56ea004;p=moodle.git Don't clean posted text on input (will be cleaned on output). Merged from MOODLE_14_STABLE --- diff --git a/mod/glossary/comment.php b/mod/glossary/comment.php index f80912dfc3..546141ae2b 100644 --- a/mod/glossary/comment.php +++ b/mod/glossary/comment.php @@ -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; diff --git a/mod/glossary/edit.php b/mod/glossary/edit.php index 084e38b114..4287ed300e 100644 --- a/mod/glossary/edit.php +++ b/mod/glossary/edit.php @@ -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;