{"action":"created","issue":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/1032","repository_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms","labels_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/1032/labels{/name}","comments_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/1032/comments","events_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/1032/events","html_url":"https://github.com/CalderaWP/Caldera-Forms/issues/1032","id":196281939,"number":1032,"title":"checkbox entries in email appear as JSON data","user":{"login":"qubez","id":1425520,"avatar_url":"https://avatars.githubusercontent.com/u/1425520?v=3","gravatar_id":"","url":"https://api.github.com/users/qubez","html_url":"https://github.com/qubez","followers_url":"https://api.github.com/users/qubez/followers","following_url":"https://api.github.com/users/qubez/following{/other_user}","gists_url":"https://api.github.com/users/qubez/gists{/gist_id}","starred_url":"https://api.github.com/users/qubez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qubez/subscriptions","organizations_url":"https://api.github.com/users/qubez/orgs","repos_url":"https://api.github.com/users/qubez/repos","events_url":"https://api.github.com/users/qubez/events{/privacy}","received_events_url":"https://api.github.com/users/qubez/received_events","type":"User","site_admin":false},"labels":[{"id":73415649,"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/labels/bug","name":"bug","color":"fc2929","default":true},{"id":248339122,"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/labels/bug:major","name":"bug:major","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"assignees":[{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones/28","html_url":"https://github.com/CalderaWP/Caldera-Forms/milestone/28","labels_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/milestones/28/labels","id":2192166,"number":28,"title":"1.4.7","description":"","creator":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":3,"state":"open","created_at":"2016-12-12T20:54:11Z","updated_at":"2016-12-19T23:50:21Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-12-18T15:38:08Z","updated_at":"2016-12-19T23:50:54Z","closed_at":null,"body":"This is almost identical to #888, but now the problem has been reversed - instead of the CSV file showing the weird JSON data, now custom emails that use checkboxes show the JSON data from internal database names. It was working for a while, but the latest update messed this up.\r\n\r\nUsing a similar form to the previous bug ([checkbox-test-export-htmlemail.json.txt](https://github.com/CalderaWP/Caldera-Forms/files/659494/checkbox-test-export-htmlemail.json.txt)), here's what I put in the email message field:\r\n```\r\n<h3>Checkbox html output test:</h3>\r\n<p>emailaddress: <strong>%emailaddress%</strong></p>\r\n<p>single_item_checkbox: <strong>%single_item_checkbox%</strong></p>\r\n<p>single_checkbox_left_unchecked: <strong>%single_checkbox_left_unchecked%</strong></p>\r\n<p>multiple_item_checkbox: <strong>%multiple_item_checkbox%</strong></p>\r\n<p>bulk_insert_checkbox: <strong>%bulk_insert_checkbox%</strong></p>\r\nMore text: %more_text%\r\n<p>End of Email</p>\r\n{summary}\r\n\r\n```\r\n\r\nNotice that I've used both custom HTML, and then end the email with the magic summary tag. I receive this email:\r\n<h3>Checkbox html output test:</h3>\r\n<p>emailaddress: <strong>tst@email.com</strong></p>\r\n<p>single_item_checkbox: <strong>{\"opt1233463\":\"Option Checked\"}</strong></p>\r\n<p>single_checkbox_left_unchecked: <strong></strong></p>\r\n<p>multiple_item_checkbox: <strong>{\"opt1376749\":\"Option 1\",\"opt1721046\":\"Option 2\"}</strong></p>\r\n<p>bulk_insert_checkbox: <strong>{\"opt2810742\":\"Option c\",\"opt3267257\":\"Option d\"}</strong></p>\r\n<p>More text: More typing</p>\r\n<p>End of Email</p>\r\n<p><strong>Email Address</strong></p>\r\n<div style=\"margin-bottom:20px;\">tst@email.com</div>\r\n<p><strong>Single Item Checkbox</strong></p>\r\n<div style=\"margin-bottom:20px;\">Option Checked</div>\r\n<p><strong>Multiple Item Checkbox</strong></p>\r\n<div style=\"margin-bottom:20px;\">Option 1, Option 2</div>\r\n<p><strong>Bulk insert checkbox</strong></p>\r\n<div style=\"margin-bottom:20px;\">Option c, Option d</div>\r\n<p><strong>More Text</strong></p>\r\n<div style=\"margin-bottom:20px;\">More typing</div>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/comments/268112831","html_url":"https://github.com/CalderaWP/Caldera-Forms/issues/1032#issuecomment-268112831","issue_url":"https://api.github.com/repos/CalderaWP/Caldera-Forms/issues/1032","id":268112831,"user":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T23:50:54Z","updated_at":"2016-12-19T23:50:54Z","body":"@qubez Thanks for testing.\r\n\r\nI'm about to do #1048 for you. "}}
{"actor":{"display_login":"Shelob9"}}