#16802 closed Bug (duplicate)
ForceSimpleAmpersand is ignored
Reported by: | Oliver Jusinger | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- CKEDITOR.config.forceSimpleAmpersand = true;
- save an link with href=http://www.foo.bar/?foo=bar&foo=bar
- forceSimpleAmpersand is ignored
Expected result
href=http://www.foo.bar/?foo=bar&foo=bar
Actual result
http://www.foo.bar/?foo=bar&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)
Change History (3)
comment:1 Changed 8 years ago by
Summary: | Fix for forceSimpleAmpersand → ForceSimpleAmpersand is ignored |
---|
comment:2 follow-up: 3 Changed 8 years ago by
Keywords: | forceSimpleAmpersand removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Version: | 4.7.0 (GitHub - major) |
DUP of #13723.