﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7371	Setting CKEDITOR.config.pasteFromWordRemoveFontStyles to false throws an exception when pasting from word	Michael Camden		"TypeError: Cannot call method 'match' of null

File: pastefromword/filters/default.js[[BR]]
Ln 1121:[[BR]]
Parent Method: CKEDITOR.cleanWord calling dataProcessor.toHtml[[BR]]

I've traced the error to the following call stack:[[BR]]
Ln 897: calling stylesFilter with an array, which later calls styleMigrateFilter[[BR]]
Ln 546: styleMigrateFilter attempts to create a CKEDITOR.htmlParser.element object with the null parameter. Since the element doesn't have a tagName, .match is called on null (core/htmlparser/element.js ln: 40) which throws an exception.[[BR]]

Tested on Firefox 3, and Chrome.

I've attached the example document that I was using to test pasting."	Bug	closed	Normal		Plugin : Paste from Word	3.5.2	fixed	HasPatch	satya_minnekanti@…
