From 57d5df5f2b29e972288f94971faebbeef92d6105 Mon Sep 17 00:00:00 2001 From: julmis Date: Tue, 19 Apr 2005 13:53:54 +0000 Subject: [PATCH] Changing a.nodeValue to root[a.nodeName] creates another bug that is much severe than absolute links been converted to relative. So I'm changing it back... --- lib/editor/htmlarea.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index 49de002e6a1..bf38d8f5ba3 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -2278,10 +2278,7 @@ HTMLArea.getHTML = function(root, outputRoot, editor) { if (typeof root[a.nodeName] != "undefined" && name != "href" && name != "src") { value = root[a.nodeName]; } else { - //value = a.nodeValue; - // This seems to be working, but if it does cause - // problems later on return the old value... - value = root[a.nodeName]; + value = a.nodeValue; if (HTMLArea.is_ie && (name == "href" || name == "src")) { value = editor.stripBaseURL(value); }