{"action":"closed","issue":{"url":"https://api.github.com/repos/limonte/sweetalert2/issues/300","repository_url":"https://api.github.com/repos/limonte/sweetalert2","labels_url":"https://api.github.com/repos/limonte/sweetalert2/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/limonte/sweetalert2/issues/300/comments","events_url":"https://api.github.com/repos/limonte/sweetalert2/issues/300/events","html_url":"https://github.com/limonte/sweetalert2/issues/300","id":178366298,"number":300,"title":"problem with table tag and td tag","user":{"login":"truelineinfotech","id":3807730,"avatar_url":"https://avatars.githubusercontent.com/u/3807730?v=3","gravatar_id":"","url":"https://api.github.com/users/truelineinfotech","html_url":"https://github.com/truelineinfotech","followers_url":"https://api.github.com/users/truelineinfotech/followers","following_url":"https://api.github.com/users/truelineinfotech/following{/other_user}","gists_url":"https://api.github.com/users/truelineinfotech/gists{/gist_id}","starred_url":"https://api.github.com/users/truelineinfotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truelineinfotech/subscriptions","organizations_url":"https://api.github.com/users/truelineinfotech/orgs","repos_url":"https://api.github.com/users/truelineinfotech/repos","events_url":"https://api.github.com/users/truelineinfotech/events{/privacy}","received_events_url":"https://api.github.com/users/truelineinfotech/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-21T14:37:57Z","updated_at":"2016-09-21T17:19:13Z","closed_at":"2016-09-21T17:19:12Z","body":"when i print html table on swettalert2. there are lots of `<br>` tags at the beginning of output.\r\nhere is code that i am using.\r\n```\r\nfunction view_data(id) {\r\n     $.ajax({\r\n        url: \"<?php echo base_url('common/ajax/view_user') ?>\",\r\n        type: 'POST',\r\n        dataType: 'html',\r\n        data: {id:id},\r\n      })\r\n      .done(function(data) {\r\n        swal({\r\n              title: 'User Details',\r\n              text: data,\r\n              width:\"600px\",\r\n            });\r\n      })\r\n      .fail(function() {\r\n        console.log(\"error\");\r\n      })\r\n      .always(function() {\r\n        console.log(\"complete\");\r\n      });\r\n     // alert(data_table);\r\n\r\n  }\r\n```\r\n![sweetalert_error](https://cloud.githubusercontent.com/assets/3807730/18715355/99a1405e-8036-11e6-91cc-eebafb8a9a37.png)\r\n\r\n![sweetalert_error2](https://cloud.githubusercontent.com/assets/3807730/18715474/097118dc-8037-11e6-8d6a-b4f4e2acb588.png)\r\n\r\n"}}
{"actor":{"display_login":"limonte"}}