{"action":"closed","issue":{"url":"https://api.github.com/repos/IJHack/qtpass/issues/182","repository_url":"https://api.github.com/repos/IJHack/qtpass","labels_url":"https://api.github.com/repos/IJHack/qtpass/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/IJHack/qtpass/issues/182/comments","events_url":"https://api.github.com/repos/IJHack/qtpass/issues/182/events","html_url":"https://github.com/IJHack/qtpass/issues/182","id":157527859,"number":182,"title":"qtpass on windows, space in front of URL and Username","user":{"login":"xkpd3","id":663776,"avatar_url":"https://avatars.githubusercontent.com/u/663776?v=3","gravatar_id":"","url":"https://api.github.com/users/xkpd3","html_url":"https://github.com/xkpd3","followers_url":"https://api.github.com/users/xkpd3/followers","following_url":"https://api.github.com/users/xkpd3/following{/other_user}","gists_url":"https://api.github.com/users/xkpd3/gists{/gist_id}","starred_url":"https://api.github.com/users/xkpd3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xkpd3/subscriptions","organizations_url":"https://api.github.com/users/xkpd3/orgs","repos_url":"https://api.github.com/users/xkpd3/repos","events_url":"https://api.github.com/users/xkpd3/events{/privacy}","received_events_url":"https://api.github.com/users/xkpd3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IJHack/qtpass/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/IJHack/qtpass/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-30T16:03:00Z","updated_at":"2016-06-01T11:58:31Z","closed_at":"2016-06-01T11:58:31Z","body":"Hi,\r\n\r\nI'm using qtpass on windows 7. I noticed that there is a space character in front of the Username and URL. I'm using a template configuration to match the default `pass` fields.\r\n\r\nI'm using a template matching \"Username\" and \"URL\". I also tried \"Username:\" and \"Username: \" (note the extra space after the colon):\r\n![qtpass_template](https://cloud.githubusercontent.com/assets/663776/15652901/b92b3abc-2689-11e6-8df7-7062f82e9409.png)\r\n\r\nNo matter how I configure the template, I have a space character in front of the URL and the Username:\r\n![qtpass_space](https://cloud.githubusercontent.com/assets/663776/15652902/b92b716c-2689-11e6-8062-d7aeec7a5748.png)\r\n\r\nI'm indeed saving the files with a space after the colon. However I think this is pretty much standard according to https://www.passwordstore.org.\r\n![qtpass_pass](https://cloud.githubusercontent.com/assets/663776/15652899/b92abd58-2689-11e6-80e2-f03b2614f31f.png)\r\n\r\nMy expectation would be that the space is omitted in template fields. Like so:\r\n![qtpass_expectation](https://cloud.githubusercontent.com/assets/663776/15653240/033b31be-268c-11e6-905e-5d0dcc3f461d.png)\r\n\r\nI think it would make sense to trim the output in template fields.\r\n\r\nBest Regards,\r\nStefan"}}
{"actor":{"display_login":"annejan"}}