﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10551	span end tag without start tag on paste after cleanupfromword	Jeff Fournier		"If you add a onPaste listener with priority 4 (right after pastefromword) and look at the data you'll see span ending tags (</span>) without the starting ones. This is because of this line in the pasteformword filter :


{{{
CKEDITOR.cleanWord = function( data, editor ) {
   ...

  // Remove the dummy spans ( having no inline style ).
  data = data.replace( /<span>/g, '' );

  ...
};
}}}

Having closing tags without the starting counterpart can cause some problem in other onPaste listeners with lower priority than pastefromword. For exemple if a listener expect to have valid html.

Doing a second pass of

{{{
data = dataProcessor.toHtml( data );
data = dataProcessor.toHtml( data );
}}}
would remove the empty span tags correctly.
"	Bug	closed	Normal		Plugin : Paste from Word	4.1	wontfix		
