From: skodak Date: Thu, 20 Jul 2006 06:32:38 +0000 (+0000) Subject: Bug #6097 - HTML editor and brackets - fixes lesson problems; merged from MOODLE_16_S... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=250f78be945efa997f8d315bed1edd82b2d2a2a1;p=moodle.git Bug #6097 - HTML editor and brackets - fixes lesson problems; merged from MOODLE_16_STABLE --- diff --git a/lib/weblib.php b/lib/weblib.php index 56a3d5b7b5..6b9e631464 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3314,16 +3314,17 @@ function print_richedit_javascript($form, $name, $source='no') { * @param string $name Form element to replace with HTMl editor by name */ function use_html_editor($name='', $editorhidebuttons='') { + $editor = 'editor_'.md5($name); //name might contain illegal characters echo ''."\n"; }