{"action":"created","issue":{"url":"https://api.github.com/repos/tabalinas/jssocials/issues/13","labels_url":"https://api.github.com/repos/tabalinas/jssocials/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/tabalinas/jssocials/issues/13/comments","events_url":"https://api.github.com/repos/tabalinas/jssocials/issues/13/events","html_url":"https://github.com/tabalinas/jssocials/issues/13","id":97185009,"number":13,"title":"Title of page coming with white space and new lines as share text","user":{"login":"saqueib","id":6937224,"avatar_url":"https://avatars.githubusercontent.com/u/6937224?v=3","gravatar_id":"","url":"https://api.github.com/users/saqueib","html_url":"https://github.com/saqueib","followers_url":"https://api.github.com/users/saqueib/followers","following_url":"https://api.github.com/users/saqueib/following{/other_user}","gists_url":"https://api.github.com/users/saqueib/gists{/gist_id}","starred_url":"https://api.github.com/users/saqueib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saqueib/subscriptions","organizations_url":"https://api.github.com/users/saqueib/orgs","repos_url":"https://api.github.com/users/saqueib/repos","events_url":"https://api.github.com/users/saqueib/events{/privacy}","received_events_url":"https://api.github.com/users/saqueib/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tabalinas/jssocials/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-25T03:04:28Z","updated_at":"2015-07-25T15:34:00Z","closed_at":null,"body":"I am getting this strange behaviour, If my page title as some white space and new line, its picking up those and.\r\n\r\n      <title>      My cool title with location, New Delhi India \r\n         &middot; AppName</title>\r\n\r\nNow when I am sharing it its showing it like this \r\n\r\n      My cool title with location, New Delhi India \r\n         · AppName http://localhost:8000/AppName\r\n\r\nSince title is generated from PHP backend I am not able to keep it in single line, if jssocial can clean the text a lil will be good\r\n\r\n     92.         return $.extend({ url: this.url, text: this.text }, share, shareConfig);\r\n\r\nI thing adding .trim() on desct or title should do it"},"comment":{"url":"https://api.github.com/repos/tabalinas/jssocials/issues/comments/124853617","html_url":"https://github.com/tabalinas/jssocials/issues/13#issuecomment-124853617","issue_url":"https://api.github.com/repos/tabalinas/jssocials/issues/13","id":124853617,"user":{"login":"tabalinas","id":3506013,"avatar_url":"https://avatars.githubusercontent.com/u/3506013?v=3","gravatar_id":"","url":"https://api.github.com/users/tabalinas","html_url":"https://github.com/tabalinas","followers_url":"https://api.github.com/users/tabalinas/followers","following_url":"https://api.github.com/users/tabalinas/following{/other_user}","gists_url":"https://api.github.com/users/tabalinas/gists{/gist_id}","starred_url":"https://api.github.com/users/tabalinas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabalinas/subscriptions","organizations_url":"https://api.github.com/users/tabalinas/orgs","repos_url":"https://api.github.com/users/tabalinas/repos","events_url":"https://api.github.com/users/tabalinas/events{/privacy}","received_events_url":"https://api.github.com/users/tabalinas/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T15:34:00Z","updated_at":"2015-07-25T15:34:00Z","body":"Thank you for the request! This should be fixed."}}