{"action":"created","issue":{"url":"https://api.github.com/repos/eggpi/citationhunt/issues/64","repository_url":"https://api.github.com/repos/eggpi/citationhunt","labels_url":"https://api.github.com/repos/eggpi/citationhunt/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/eggpi/citationhunt/issues/64/comments","events_url":"https://api.github.com/repos/eggpi/citationhunt/issues/64/events","html_url":"https://github.com/eggpi/citationhunt/issues/64","id":191049120,"number":64,"title":"Don't show the text added after the pipe character","user":{"login":"Stryn","id":8810317,"avatar_url":"https://avatars.githubusercontent.com/u/8810317?v=3","gravatar_id":"","url":"https://api.github.com/users/Stryn","html_url":"https://github.com/Stryn","followers_url":"https://api.github.com/users/Stryn/followers","following_url":"https://api.github.com/users/Stryn/following{/other_user}","gists_url":"https://api.github.com/users/Stryn/gists{/gist_id}","starred_url":"https://api.github.com/users/Stryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stryn/subscriptions","organizations_url":"https://api.github.com/users/Stryn/orgs","repos_url":"https://api.github.com/users/Stryn/repos","events_url":"https://api.github.com/users/Stryn/events{/privacy}","received_events_url":"https://api.github.com/users/Stryn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-22T16:07:44Z","updated_at":"2016-11-22T16:33:27Z","closed_at":null,"body":"On Finnish Wikipedia we sometimes write a reason (or a date when the template is added) for the citation needed template by adding text after the pipe character, for example `{{lähde|2.10.2016}}`. I noticed that those texts after the pipe character are shown in the Citation Hunt, and IMO they should not be visible in the tool.\r\n\r\nExample sentence from [https://fi.wikipedia.org/wiki/FARC#Tavoitteet_ja_ideologia](url) as seen on the tool:\r\nYhdysvallat ja Euroopan unioni luokittelevat järjestön terroristijärjestöksi.2.10.2016`[lähde?]`"},"comment":{"url":"https://api.github.com/repos/eggpi/citationhunt/issues/comments/262291107","html_url":"https://github.com/eggpi/citationhunt/issues/64#issuecomment-262291107","issue_url":"https://api.github.com/repos/eggpi/citationhunt/issues/64","id":262291107,"user":{"login":"eggpi","id":489134,"avatar_url":"https://avatars.githubusercontent.com/u/489134?v=3","gravatar_id":"","url":"https://api.github.com/users/eggpi","html_url":"https://github.com/eggpi","followers_url":"https://api.github.com/users/eggpi/followers","following_url":"https://api.github.com/users/eggpi/following{/other_user}","gists_url":"https://api.github.com/users/eggpi/gists{/gist_id}","starred_url":"https://api.github.com/users/eggpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggpi/subscriptions","organizations_url":"https://api.github.com/users/eggpi/orgs","repos_url":"https://api.github.com/users/eggpi/repos","events_url":"https://api.github.com/users/eggpi/events{/privacy}","received_events_url":"https://api.github.com/users/eggpi/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T16:33:27Z","updated_at":"2016-11-22T16:33:27Z","body":"Good catch, this is definitely a bug! It should be a very simple fix - I've also had to do this for Swedish, but this is not a universal behavior, since other languages such as French do include useful information after the pipe.\r\n\r\nWould you like to give this a try? If you think that would be fun, I can give you instructions for how to reproduce this in a simple way, fix it and add a test (and if you encounter problems following them, I'll definitely want to hear about them!). Otherwise, I'll just fix this myself in a couple of days."}}
{"actor":{"display_login":"eggpi"}}