From 32ca1f9fc8a78e092565b51cc97faa724bb4e6cf Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 30 May 2009 05:09:57 -0400 Subject: [PATCH] - css fixes (#1485869) --- program/js/editor.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/js/editor.js b/program/js/editor.js index 7f937b2..6826af8 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -75,9 +75,8 @@ if (ishtml) { rcmail.display_spellcheck_controls(false); - var htmlText = "<pre>" + composeElement.value + "</pre>"; - composeElement.value = htmlText; + rcmail.plain2html(composeElement.value, textAreaId); tinyMCE.execCommand('mceAddControl', true, textAreaId); if (flagElement && (flag = rcube_find_object(flagElement))) flag.value = '1'; -- Gitblit v1.9.1