diff -r 5882f0eebb34 -r e3b94bd055dc includes/clientside/tinymce/themes/advanced/js/source_editor.js --- a/includes/clientside/tinymce/themes/advanced/js/source_editor.js Mon Dec 21 15:41:05 2009 -0500 +++ b/includes/clientside/tinymce/themes/advanced/js/source_editor.js Tue Dec 22 13:09:59 2009 -0500 @@ -2,7 +2,7 @@ tinyMCEPopup.onInit.add(onLoadInit); function saveContent() { - tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value); + tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); tinyMCEPopup.close(); } @@ -13,7 +13,7 @@ if (tinymce.isGecko) document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck"); - document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent(); + document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true}); if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) { setWrap('soft');