From 32ce883ee6f2026bc3ebaf42bc7d3ed6e56ea004 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 24 Aug 2004 22:59:54 +0000 Subject: [PATCH] Don't clean posted text on input (will be cleaned on output). Merged from MOODLE_14_STABLE --- mod/glossary/comment.php | 2 +- mod/glossary/edit.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5