﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11223	ProtectedSource not working in the title element	Marcus Bointon	Marek Lewandowski	"This problem is described in [http://ckeditor.com/forums/Support/Ignoring-placeholders-protectedSource-not-working-in-title-element this forum post].

With protectedSource set thus:

{{{
CKEDITOR.config.protectedSource.push(/\[\[[^\]]*?\]\]/g);
}}}

This document:

{{{
<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN"" ""http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
<title>[[mytag]]</title>
[[mytag]]
</head>
<body>
[[mytag]]
</body>
</html>
}}}

becomes this when loaded into CKEditor:

{{{
<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN"" ""http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
	<meta content=""text/html; charset=utf-8"" http-equiv=""Content-Type"">
	<title>&lt;!--{cke_protected}%5B%5Bmytag%5D%5D--&gt;</title>
	[[mytag]]
</head>
<body>[[mytag]]</body>
</html>
}}}

and it stays that way when the form is submitted. When it's reloaded, it gets encoded a second time, resulting in an ever-growing title tag full of junk.

The forum post describes another problem related to using placeholders, but this bug is really a separate issue."	Bug	closed	Normal	CKEditor 4.4.1	General	3.1	fixed		
