Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html (revision 1921)
+++ /FCKeditor/trunk/_whatsnew.html (revision 1922)
@@ -48,4 +48,6 @@
[#1426] Fixed the error loading
fckstyles.xml in servers which cannot return the correct content type header for .xml files.
+ [#2102] Fixed FCKConfig.DocType
+ which stopped working in FCKeditor 2.6.
Index: /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
===================================================================
--- /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js (revision 1921)
+++ /FCKeditor/trunk/editor/_source/classes/fckeditingarea.js (revision 1922)
@@ -102,5 +102,5 @@
if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE )
{
- window._FCKHtmlToLoad = sOverrideError + html ;
+ window._FCKHtmlToLoad = html.replace( //i, '' + sOverrideError ) ;
oIFrame.src = 'javascript:void( (function(){' +
'document.open() ;' +
@@ -134,5 +134,5 @@
oDoc.open() ;
- oDoc.write( sOverrideError + html ) ;
+ oDoc.write( html.replace( //i, '' + sOverrideError ) ) ;
oDoc.close() ;
}