﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4243	Protected tag not rendered right with insertElement	Stefan		"I configured a tag for protection:

Excerpt from config.js
{{{
CKEDITOR.editorConfig = function( config )
{
  config.protectedSource.push(/<protected>.*?<\/protected>/g);
  // ...
};
}}}

The following
{{{
editor.insertHtml('<mct>some text <protected>foobar</protected></mct>');
}}}
produces 'some text' in editor.

The following code produces some missbehaviour:
{{{
var mct = CKEDITOR.dom.element('mct', editor.document);
mct.setHtml('some text <protected>foobar</protected>');
editor.insertElement(mct);
}}}
I see 'some text foobar'.[[BR]]
Switch on source view.[[BR]]
Switch off source view.[[BR]]
I see 'some text'."	Bug	closed	Normal	CKEditor 3.1	General	3.0 RC	worksforme	Confirmed WorksForMe	
