Index: /CKEditor/branches/prototype/_source/plugins/wysiwygarea/plugin.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/wysiwygarea/plugin.js	(revision 2974)
+++ /CKEditor/branches/prototype/_source/plugins/wysiwygarea/plugin.js	(revision 2975)
@@ -216,4 +216,7 @@
 							{
 								isLoadingData = true;
+								
+								// Get the HTML version of the data.
+								data = editor.dataProcessor.toHtml( data );
 
 								// Fix for invalid self-closing tags (see #152).
@@ -241,5 +244,5 @@
 									'</head>' +
 									'<body>' +
-										editor.dataProcessor.toHtml( data ) +
+										data +
 									'</body>' +
 									'</html>' +
