Merge with fb04b674906f7f8a107f559f8048489849fa4465

skala
Ivan Tcholakov 15 years ago
commit 4745809878
  1. 4
      main/document/edit_document.php

@ -656,7 +656,9 @@ if ($owner_id == $_user['user_id'] || api_is_platform_admin() || $is_allowed_to_
$read_only_flag=$_POST['readonly'];
$defaults['texte'] = $texte;
// Desactivation of IE proprietary commenting tags inside the text before loading it on the online editor.
// This fix has been proposed by Hubert Borderiou, see Bug #573, http://support.chamilo.org/issues/573
$defaults['texte'] = str_replace('<!--[', '<!-- [', $texte);
//if($extension == 'htm' || $extension == 'html')
// HotPotatoes tests are html files, but they should not be edited in order their functionality to be preserved.

Loading…
Cancel
Save