mod-data MDL-25281 Removed format_text call that we messing up database entries.
authorSam Hemelryk <sam@moodle.com>
Fri, 19 Nov 2010 02:58:42 +0000 (02:58 +0000)
committerSam Hemelryk <sam@moodle.com>
Fri, 19 Nov 2010 02:58:42 +0000 (02:58 +0000)
mod/data/edit.php

index 1360000..34aef3f 100755 (executable)
@@ -310,8 +310,7 @@ if ($data->addtemplate){
     $newtext = '';
 }
 
-$formatoptions = (object)array('noclean'=>true, 'para'=>false, 'filter'=>true);
-echo format_text($newtext, FORMAT_HTML, $formatoptions);
+echo $newtext;
 
 echo '<div class="mdl-align"><input type="submit" name="saveandview" value="'.get_string('saveandview','data').'" />';
 if ($rid) {