﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14418	config.allowedContent = true inserts blank paragraphs after any custom tag	Jay		"I need to allow a large number of custom tags in my code that are not html.

I have config.allowedContent = true in Config.js

In the source view, I add a custom tag as follows:

<cf_protip>some text here</cf_protip>

If I switch to the visual editor and then back to the source view, I get the following:

<cf_protip>some text here</cf_protip>
<p>&nbsp;</p>

Further, each time I toggle the source view it adds more and more <p>&nbsp;</p>.  The growth of these is exponential.

<cf_protip>some text here</cf_protip>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

This oddness makes it completely unusable with my custom tags.

== Steps to reproduce ==

1. set config.allowedContent = true in Config.js
2. add any non-standard html tag <mytag>xxxx</mytag>
3. toggle the source view a few times

== Expected result ==
Ignore my custom tag code with no other additions.

== Actual result ==
watch the whitespace grow!

== Other details (browser, OS, CKEditor version, installed plugins) ==
Chrome, Windows 7, standard CKEditor downloaded 2/19/2016"	Bug	closed	Normal		General	4.0	invalid		
