{"action":"closed","issue":{"url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/1277","repository_url":"https://api.github.com/repos/Automattic/WP-Job-Manager","labels_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/1277/comments","events_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/issues/1277/events","html_url":"https://github.com/Automattic/WP-Job-Manager/issues/1277","id":286573563,"number":1277,"title":"Ampersand becomes its html entity (&amp;) in textarea fields","user":{"login":"dsaric-dev","id":16762002,"avatar_url":"https://avatars2.githubusercontent.com/u/16762002?v=4","gravatar_id":"","url":"https://api.github.com/users/dsaric-dev","html_url":"https://github.com/dsaric-dev","followers_url":"https://api.github.com/users/dsaric-dev/followers","following_url":"https://api.github.com/users/dsaric-dev/following{/other_user}","gists_url":"https://api.github.com/users/dsaric-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaric-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaric-dev/subscriptions","organizations_url":"https://api.github.com/users/dsaric-dev/orgs","repos_url":"https://api.github.com/users/dsaric-dev/repos","events_url":"https://api.github.com/users/dsaric-dev/events{/privacy}","received_events_url":"https://api.github.com/users/dsaric-dev/received_events","type":"User","site_admin":false},"labels":[{"id":42665695,"url":"https://api.github.com/repos/Automattic/WP-Job-Manager/labels/[Type]%20Bug","name":"[Type] Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Automattic/WP-Job-Manager/milestones/13","html_url":"https://github.com/Automattic/WP-Job-Manager/milestone/13","labels_url":"https://api.github.com/repos/Automattic/WP-Job-Manager/milestones/13/labels","id":2667695,"number":13,"title":"1.30.0","description":"","creator":{"login":"jom","id":68693,"avatar_url":"https://avatars3.githubusercontent.com/u/68693?v=4","gravatar_id":"","url":"https://api.github.com/users/jom","html_url":"https://github.com/jom","followers_url":"https://api.github.com/users/jom/followers","following_url":"https://api.github.com/users/jom/following{/other_user}","gists_url":"https://api.github.com/users/jom/gists{/gist_id}","starred_url":"https://api.github.com/users/jom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jom/subscriptions","organizations_url":"https://api.github.com/users/jom/orgs","repos_url":"https://api.github.com/users/jom/repos","events_url":"https://api.github.com/users/jom/events{/privacy}","received_events_url":"https://api.github.com/users/jom/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":34,"state":"open","created_at":"2017-07-28T14:48:31Z","updated_at":"2018-02-14T15:44:15Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-01-07T14:38:26Z","updated_at":"2018-02-14T15:44:15Z","closed_at":"2018-02-14T15:44:15Z","author_association":"NONE","body":"As the title says, entering ampersand (&) in job's textarea fields makes it turn into \\&amp; on backend.\r\nThis happens because user's input is first processed through wp_kses_post() (abstract-wp-job-manager-form.php, line 379) which changes & to \\&amp; (which would still be fine for html output), but it is then output through esc_textarea() (textarea-field.php line 18) which turns \\&amp; to \\&amp;amp; which makes it display as \\&amp; "}}
{"actor":{"display_login":"jom"}}