﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4475	Custom protectedSource ruins content	WayFarer	Garry Yao	"When using custom protection for {tagname ...} elements (not for smarty here)
{{{
config.protectedSource = [/\{.*?\}/gi]; // { } tags.
}}}
(one protection pattern only)[[BR]]

editor sometimes selectively ruins {} tags, tested with latest FF and IE7/8[[BR]]
 
example:
{{{
{link page=""test""}<p>
This Web site was created with you in mind. In your busy schedule at work or at home, you may not have the time to call, visit or schedule an appointment with us. We realize this and have created this helpful and informative Web site to meet your needs 24 hours a day. Detailed information has been provided regarding our <a href=""{link page=""services""}"" target=""_top"">services</a>, <a href=""{link page=""merchandise""}"" target=""_top"">merchandise</a>&nbsp;and&nbsp;<a href=""{link page=""prices""}"">prices</a>, our <a href=""{link page=""grief-resources""}"" target=""_top"">grief resources</a>, <a href=""{link page=""when-death-occurs""}"">what to do when death occurs</a> and information on various other topics. 
{link page=""test""}
}}}
become
{{{
{link page=""test""}
<p>
	This Web site was created with you in mind. In your busy schedule at work or at home, you may not have the time to call, visit or schedule an appointment with us. We realize this and have created this helpful and informative Web site to meet your needs 24 hours a day. Detailed information has been provided regarding our <a href=""&lt;!--{cke_protected}%7Blink%20page%3D%22services%22%7D--&gt;"" target=""_top"">services</a>, <a href=""&lt;!--{cke_protected}%7Blink%20page%3D%22merchandise%22%7D--&gt;"" target=""_top"">merchandise</a>&nbsp;and&nbsp;<a href=""&lt;!--{cke_protected}%7Blink%20page%3D%22prices%22%7D--&gt;"">prices</a>, our <a href=""&lt;!--{cke_protected}%7Blink%20page%3D%22grief-resources%22%7D--&gt;"" target=""_top"">grief resources</a>, <a href=""&lt;!--{cke_protected}%7Blink%20page%3D%22when-death-occurs%22%7D--&gt;"">what to do when death occurs</a> and information on various other topics. {link page=""test""}</p>
}}}
Please note, that not all {} tags ruined."	Bug	closed	Normal	CKEditor 3.5.3	Core : Output Data	3.0	fixed		vladimir@…
