Index: /CKEditor/tests/dt/plugins/htmldataprocessor/htmldataprocessor.html
===================================================================
--- /CKEditor/tests/dt/plugins/htmldataprocessor/htmldataprocessor.html	(revision 5415)
+++ /CKEditor/tests/dt/plugins/htmldataprocessor/htmldataprocessor.html	(revision 5416)
@@ -86,4 +86,5 @@
 	return {
 
+//		shouldIgnoreAllBut : [ 'test_toDataFormat_ticket_2886_1', 'test_pre_leading_whitespaces_toDataFormat' ],
 		test_toDataFormat_ticket_2886_1 : function()
 		{
@@ -360,4 +361,29 @@
 					dataProcessor.toDataFormat( protectedHtml ) );
 			}
+		},
+
+		/**
+		 *	 Leading spaces in <pre> should be well preserved.
+		 */
+		test_pre_leading_whitespaces_toHtml : function()
+		{
+			var editor = CKEDITOR.instances.editor1,
+				dataProcessor = editor.dataProcessor,
+				source = '<pre>\n\n\tOne visible line break.</pre>';
+			dataProcessor.writer = new CKEDITOR.htmlWriter();
+			assert.areSame( source, dataProcessor.toHtml( source ) );
+		},
+
+		/**
+		 *	 Leading spaces in <pre> should be well preserved.
+		 */
+		test_pre_leading_whitespaces_toDataFormat : function()
+		{
+			var editor = CKEDITOR.instances.editor1,
+				dataProcessor = editor.dataProcessor,
+				source = '<pre>\n\n\tOne visible line break.</pre>',
+				output = source + '\n';
+			dataProcessor.writer = new CKEDITOR.htmlWriter();
+			assert.areSame( output, dataProcessor.toDataFormat( source ) );
 		},
 		name : document.title
