﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
16802	ForceSimpleAmpersand is ignored	Oliver Jusinger		"== Steps to reproduce ==

1. CKEDITOR.config.forceSimpleAmpersand = true; 
2. save an link with href=http://www.foo.bar/?foo=bar&foo=bar
3. forceSimpleAmpersand is ignored

== Expected result ==
href=http://www.foo.bar/?foo=bar&foo=bar

== Actual result ==
http://www.foo.bar/?foo=bar&amp;foo=bar

== Other details (browser, OS, CKEditor version, installed plugins) ==
4.7.1 and earlier

Fix: htmlwriter/plugin.js
move htmlEncodeAttr before forceSimpleAmpersand handling:

Diff: 
{{{
181a182
> 				attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );
184d184
< 				attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );
}}}
(limited js and ckeditor knowledge, but the fix works for me)"	Bug	closed	Normal		General		duplicate		
