{"action":"created","issue":{"url":"https://api.github.com/repos/spress/Spress/issues/83","repository_url":"https://api.github.com/repos/spress/Spress","labels_url":"https://api.github.com/repos/spress/Spress/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/spress/Spress/issues/83/comments","events_url":"https://api.github.com/repos/spress/Spress/issues/83/events","html_url":"https://github.com/spress/Spress/issues/83","id":151679050,"number":83,"title":"Same tags on different languages cause builder crash","user":{"login":"urmaul","id":1838544,"avatar_url":"https://avatars.githubusercontent.com/u/1838544?v=3","gravatar_id":"","url":"https://api.github.com/users/urmaul","html_url":"https://github.com/urmaul","followers_url":"https://api.github.com/users/urmaul/followers","following_url":"https://api.github.com/users/urmaul/following{/other_user}","gists_url":"https://api.github.com/users/urmaul/gists{/gist_id}","starred_url":"https://api.github.com/users/urmaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urmaul/subscriptions","organizations_url":"https://api.github.com/users/urmaul/orgs","repos_url":"https://api.github.com/users/urmaul/repos","events_url":"https://api.github.com/users/urmaul/events{/privacy}","received_events_url":"https://api.github.com/users/urmaul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spress/Spress/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"yosymfony","id":3321099,"avatar_url":"https://avatars.githubusercontent.com/u/3321099?v=3","gravatar_id":"","url":"https://api.github.com/users/yosymfony","html_url":"https://github.com/yosymfony","followers_url":"https://api.github.com/users/yosymfony/followers","following_url":"https://api.github.com/users/yosymfony/following{/other_user}","gists_url":"https://api.github.com/users/yosymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/yosymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosymfony/subscriptions","organizations_url":"https://api.github.com/users/yosymfony/orgs","repos_url":"https://api.github.com/users/yosymfony/repos","events_url":"https://api.github.com/users/yosymfony/events{/privacy}","received_events_url":"https://api.github.com/users/yosymfony/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-28T15:54:18Z","updated_at":"2016-05-07T17:58:14Z","closed_at":null,"body":"Imagine you have two posts. One has tag \"bash\" and another one has tag \"баш\", which transliterates to \"bash\".\r\n\r\nIn this case TaxonomyGenerator tries to generate 2 tag pages with same permalink and builder crashes with error:\r\n\r\n```\r\n  [RuntimeException]\r\n  A previous item exists with the same id: \"tags/bash/index.html\". Generator: \"taxonomy\".\r\n```\r\n\r\nBTW case insensitivity doesn't work with cyrillic characters too. TaxonomyGenerator thinks \"баш\" and \"баШ\" are different tags and fails with same error."},"comment":{"url":"https://api.github.com/repos/spress/Spress/issues/comments/217656308","html_url":"https://github.com/spress/Spress/issues/83#issuecomment-217656308","issue_url":"https://api.github.com/repos/spress/Spress/issues/83","id":217656308,"user":{"login":"yosymfony","id":3321099,"avatar_url":"https://avatars.githubusercontent.com/u/3321099?v=3","gravatar_id":"","url":"https://api.github.com/users/yosymfony","html_url":"https://github.com/yosymfony","followers_url":"https://api.github.com/users/yosymfony/followers","following_url":"https://api.github.com/users/yosymfony/following{/other_user}","gists_url":"https://api.github.com/users/yosymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/yosymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosymfony/subscriptions","organizations_url":"https://api.github.com/users/yosymfony/orgs","repos_url":"https://api.github.com/users/yosymfony/repos","events_url":"https://api.github.com/users/yosymfony/events{/privacy}","received_events_url":"https://api.github.com/users/yosymfony/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T17:58:14Z","updated_at":"2016-05-07T17:58:14Z","body":"A possible solution for this issue could be to add a suffix at the end of each term in case of conflict. e.g:\r\n\r\nTerm | Path\r\n---- | ----\r\nbash | `/bash`\r\nбаш  | `/bash-1`\r\n\r\nAnd if the term \"баш\" is found before \"bash\" term then the result will be the following:\r\n\r\nTerm | Path\r\n---- | ----\r\nбаш  | `/bash`\r\nbash | `/bash-1`\r\n\r\n"}}