]> git.mjollnir.org Git - moodle.git/commitdiff
Don't clean posted text on input (will be cleaned on output).
authorstronk7 <stronk7>
Tue, 24 Aug 2004 22:59:54 +0000 (22:59 +0000)
committerstronk7 <stronk7>
Tue, 24 Aug 2004 22:59:54 +0000 (22:59 +0000)
Merged from MOODLE_14_STABLE

mod/glossary/comment.php
mod/glossary/edit.php

index f80912dfc3405a9c11a926d0380325bf5f1aa6d9..546141ae2bf8fb7637c77f1e58cea90e5202ee33 100644 (file)
         }
 
         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;
index 084e38b114ca40759e6f561f7f532451f94e4f20..4287ed300e1b3fc3468cc9acb89a62cca6964004 100644 (file)
@@ -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;