--- a/includes/clientside/tinymce/plugins/preview/preview.html Mon Dec 21 15:41:05 2009 -0500
+++ b/includes/clientside/tinymce/plugins/preview/preview.html Tue Dec 22 13:09:59 2009 -0500
@@ -1,19 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<script language="javascript" src="../../tiny_mce_popup.js"></script>
+<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="jscripts/embed.js"></script>
-<script type="text/javascript">
-tinyMCEPopup.onInit.add(function(ed) {
- var dom = tinyMCEPopup.dom;
-
- dom.setHTML('content', ed.getContent());
-});
-
+<script type="text/javascript"><!--
document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">');
+// -->
</script>
<title>{#preview.preview_desc}</title>
</head>
<body id="content">
-<!-- Gets filled with editor contents -->
+<script type="text/javascript">
+ document.write(tinyMCEPopup.editor.getContent());
+</script>
</body>
</html>