summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--fckeditor.utils.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 48d00d7..4d6294d 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -2,6 +2,7 @@ $Id$
-- 2008-10-09 version 5.x-2.x-dev
* #310988 Extended default exclusion list, added hack for module developers allowing to disable fckeditor on specific textareas
+* #318540 Fixed: formatting output doesn't format properly
-- 2008-10-08 version 5.x-2.x-dev
* Added upgrading instructions
diff --git a/fckeditor.utils.js b/fckeditor.utils.js
index 4c39fa5..3231023 100644
--- a/fckeditor.utils.js
+++ b/fckeditor.utils.js
@@ -59,7 +59,7 @@ function Toggle( js_id, textareaID, textTextarea, TextRTE )
document.getElementById('switch_' + js_id).innerHTML = TextRTE;
// Set the textarea value to the editor value.
- eTextarea.value = oEditor.GetHTML() ;
+ $('#' + textareaID).val(oEditor.GetHTML(true)) ;
// Switch the DIVs display.
eTextarea.style.display = '' ;