{"action":"created","issue":{"url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/965","repository_url":"https://api.github.com/repos/ckeditor/ckeditor-dev","labels_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/965/comments","events_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/965/events","html_url":"https://github.com/ckeditor/ckeditor-dev/issues/965","id":260678339,"node_id":"MDU6SXNzdWUyNjA2NzgzMzk=","number":965,"title":"Bug: configuration flag forceSimpleAmpersand does not work","user":{"login":"alexmaris","id":4015151,"node_id":"MDQ6VXNlcjQwMTUxNTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4015151?v=4","gravatar_id":"","url":"https://api.github.com/users/alexmaris","html_url":"https://github.com/alexmaris","followers_url":"https://api.github.com/users/alexmaris/followers","following_url":"https://api.github.com/users/alexmaris/following{/other_user}","gists_url":"https://api.github.com/users/alexmaris/gists{/gist_id}","starred_url":"https://api.github.com/users/alexmaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexmaris/subscriptions","organizations_url":"https://api.github.com/users/alexmaris/orgs","repos_url":"https://api.github.com/users/alexmaris/repos","events_url":"https://api.github.com/users/alexmaris/events{/privacy}","received_events_url":"https://api.github.com/users/alexmaris/received_events","type":"User","site_admin":false},"labels":[{"id":616000042,"node_id":"MDU6TGFiZWw2MTYwMDAwNDI=","url":"https://api.github.com/repos/ckeditor/ckeditor-dev/labels/status:confirmed","name":"status:confirmed","color":"e6e6e6","default":false},{"id":11992784,"node_id":"MDU6TGFiZWwxMTk5Mjc4NA==","url":"https://api.github.com/repos/ckeditor/ckeditor-dev/labels/type:bug","name":"type:bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-26T15:56:18Z","updated_at":"2018-09-10T13:36:08Z","closed_at":null,"author_association":"NONE","body":"## Are you reporting a feature request or a bug?\r\n\r\nBug\r\n\r\n## [Check if the issue is already reported](http://docs.ckeditor.com/#!/guide/dev_issues_readme-section-avoid-duplicates)\r\n\r\nhttps://dev.ckeditor.com/ticket/16746#no1\r\nPreviously reported in this ticket, but the steps to replicate were not correct. The documentation states that the `forceSimpleAmpersand` flag will  _\"force using `&` instead of `&amp;` in element **attributes** values.\"_ \r\n\r\n(https://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-forceSimpleAmpersand)\r\n\r\n## Provide detailed reproduction steps (if any)\r\n\r\n1. Create a new editor with the `forceSimpleAmpersand` option set to `true` (https://codepen.io/anon/pen/gGmOmW?editors=1010)\r\n1. Switch to Source View\r\n1. Add an `<a>` tag with an `href` attribute that contains an ampersand ex: `<a href=\"http://www.blah.com?foo=1&bar=2\">Test link</a>` \r\n1. Switch WYSIWYG View\r\n1. Switch back to Source View\r\n\r\n### Expected result\r\n\r\nAnchor tag href property should remain the same:\r\n`<a href=\"http://www.blah.com?foo=1&bar=2\">Test link</a>`\r\n\r\n### Actual result\r\n\r\nAnchor tag href property has the ampersand encoded\r\n`<a href=\"http://www.blah.com?foo=1&amp;bar=2\">Test link</a>`\r\n\r\n## Other details\r\n\r\n* Browser: Chrome Version 60.0.3112.113 (Official Build) (64-bit)\r\n* OS: MacOS\r\n* CKEditor version: 4.7.1\r\n* Installed CKEditor plugins: default plugins\r\n"},"comment":{"url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/comments/419914308","html_url":"https://github.com/ckeditor/ckeditor-dev/issues/965#issuecomment-419914308","issue_url":"https://api.github.com/repos/ckeditor/ckeditor-dev/issues/965","id":419914308,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTkxNDMwOA==","user":{"login":"siemas","id":24518917,"node_id":"MDQ6VXNlcjI0NTE4OTE3","avatar_url":"https://avatars1.githubusercontent.com/u/24518917?v=4","gravatar_id":"","url":"https://api.github.com/users/siemas","html_url":"https://github.com/siemas","followers_url":"https://api.github.com/users/siemas/followers","following_url":"https://api.github.com/users/siemas/following{/other_user}","gists_url":"https://api.github.com/users/siemas/gists{/gist_id}","starred_url":"https://api.github.com/users/siemas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siemas/subscriptions","organizations_url":"https://api.github.com/users/siemas/orgs","repos_url":"https://api.github.com/users/siemas/repos","events_url":"https://api.github.com/users/siemas/events{/privacy}","received_events_url":"https://api.github.com/users/siemas/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T13:36:08Z","updated_at":"2018-09-10T13:36:08Z","author_association":"NONE","body":"@alexmaris your commit solves the problem (bug) for me. Cloud you make a pull request for this fix?"}}
{"actor":{"display_login":"siemas"}}