From 605737cdfb2c0ee53f35a807d9c7ca70b2cd8a2f Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 20 Jul 2006 06:30:10 +0000 Subject: [PATCH] Bug #6097 - HTML editor and brackets - fixes lesson problems --- lib/weblib.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 82716cb43b7..59e1239dacc 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3309,16 +3309,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"; }