Bug #573 - 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 http://support.chamilo.org/issues/573

skala
Ivan Tcholakov 15 years ago
parent 5285dba95f
commit 9f3846d30b
  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