﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14239	Spurious nodes added to document when toggling source view control when certain ACF rules applied	Kevin Kamel		"== Steps to reproduce ==

1. Create custom CKEditor ACF configuration which permits non-html4 tags into the document, for example:

CKEDITOR.config.extraAllowedContent = 'summary';
2. Instantiate browser instance using this custom configuration
3. Repeatedly toggle the source view control
4. Observe the <p>&nbsp;</p> nodes being rapidly appended to the document. Seemingly these nodes duplicate every single time you toggle.

== Expected result ==

I do not expect to see random <p>&nbsp;</p> added to the document.

== Actual result ==

<p>&nbsp;</p> nodes are rapidly added to the document, corrupting it.

== Other details (browser, OS, CKEditor version, installed plugins) ==

A demo of this bug is present at the following URL:
https://jsfiddle.net/kamelkev/hqLbhzxz/1/

I have observed this issue with current Firefox (42), current Safari (9.0.1) and current Chrome (47.0.2526.80).

I have observed this issue with the most recent release (4.5.5), but replicated it with older versions as well.

Note that the issue does not appear to manifest itself if you use the ENTER_BR entermode.

Note the issue does not appear if you disable auto-paragraphing.

Note the issue does not appear if you apply the fix from the following stackoverflow article:
http://stackoverflow.com/questions/24283528/line-break-and-paragraph-has-doubled-itself-every-time-i-save-the-document-ckedi"	Bug	confirmed	Normal		General	4.0			
