{"action":"created","issue":{"url":"https://api.github.com/repos/mattn/gist-vim/issues/196","labels_url":"https://api.github.com/repos/mattn/gist-vim/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/mattn/gist-vim/issues/196/comments","events_url":"https://api.github.com/repos/mattn/gist-vim/issues/196/events","html_url":"https://github.com/mattn/gist-vim/pull/196","id":99485095,"number":196,"title":"fix open_browser","user":{"login":"zhlinh","id":7844628,"avatar_url":"https://avatars.githubusercontent.com/u/7844628?v=3","gravatar_id":"","url":"https://api.github.com/users/zhlinh","html_url":"https://github.com/zhlinh","followers_url":"https://api.github.com/users/zhlinh/followers","following_url":"https://api.github.com/users/zhlinh/following{/other_user}","gists_url":"https://api.github.com/users/zhlinh/gists{/gist_id}","starred_url":"https://api.github.com/users/zhlinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhlinh/subscriptions","organizations_url":"https://api.github.com/users/zhlinh/orgs","repos_url":"https://api.github.com/users/zhlinh/repos","events_url":"https://api.github.com/users/zhlinh/events{/privacy}","received_events_url":"https://api.github.com/users/zhlinh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-06T17:19:02Z","updated_at":"2015-08-13T05:15:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mattn/gist-vim/pulls/196","html_url":"https://github.com/mattn/gist-vim/pull/196","diff_url":"https://github.com/mattn/gist-vim/pull/196.diff","patch_url":"https://github.com/mattn/gist-vim/pull/196.patch"},"body":"fix open_browser.\r\nWhen shellescape(a:url) is used to substitute, it will bring a problem that the url was added with ''(single quotation marks) in https://gist.github.com/xxx, which will cause the browser use something like **%27https//gist.github.com/xxx'** to open a website."},"comment":{"url":"https://api.github.com/repos/mattn/gist-vim/issues/comments/130537800","html_url":"https://github.com/mattn/gist-vim/pull/196#issuecomment-130537800","issue_url":"https://api.github.com/repos/mattn/gist-vim/issues/196","id":130537800,"user":{"login":"zhlinh","id":7844628,"avatar_url":"https://avatars.githubusercontent.com/u/7844628?v=3","gravatar_id":"","url":"https://api.github.com/users/zhlinh","html_url":"https://github.com/zhlinh","followers_url":"https://api.github.com/users/zhlinh/followers","following_url":"https://api.github.com/users/zhlinh/following{/other_user}","gists_url":"https://api.github.com/users/zhlinh/gists{/gist_id}","starred_url":"https://api.github.com/users/zhlinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhlinh/subscriptions","organizations_url":"https://api.github.com/users/zhlinh/orgs","repos_url":"https://api.github.com/users/zhlinh/repos","events_url":"https://api.github.com/users/zhlinh/events{/privacy}","received_events_url":"https://api.github.com/users/zhlinh/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T05:15:27Z","updated_at":"2015-08-13T05:15:27Z","body":"If on Windows, then `set shellslash`, the above code doesn't work. Because it will enclose {string} in single quotes.\r\nThe problem is just the single or double quotes.\r\n**On Windows:**\r\n`set shellslash`                     --------------   `shellescape()` brings single quotes, and it doesn't work.\r\n`set noshellslash`(default)    --------------   `shellescape()` brings double quotes,and it works.\r\n**On Unix:**\r\n`set shellslash`(default)        --------------    `shellescape()` brings single quotes, and it works.\r\n\r\nI just use other bundle latex-vim and `set shellslash` from its official recommended configuration. So it just could be my own problem which you can ignore.  "}}