mod-data MDL-25281 Removed format_text call that we messing up database entries.
This commit is contained in:
+1
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user