From 250f78be945efa997f8d315bed1edd82b2d2a2a1 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 20 Jul 2006 06:32:38 +0000 Subject: [PATCH] Bug #6097 - HTML editor and brackets - fixes lesson problems; merged from MOODLE_16_STABLE --- lib/weblib.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"; } -- 2.39.5