{"action":"created","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/3978","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/3978/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/3978/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/3978/events","html_url":"https://github.com/gohugoio/hugo/issues/3978","id":266143222,"number":3978,"title":"sitemap error: Namespace prefix xhtml on link is not defined (in multilingual site)","user":{"login":"MunifTanjim","id":8050659,"avatar_url":"https://avatars1.githubusercontent.com/u/8050659?v=4","gravatar_id":"","url":"https://api.github.com/users/MunifTanjim","html_url":"https://github.com/MunifTanjim","followers_url":"https://api.github.com/users/MunifTanjim/followers","following_url":"https://api.github.com/users/MunifTanjim/following{/other_user}","gists_url":"https://api.github.com/users/MunifTanjim/gists{/gist_id}","starred_url":"https://api.github.com/users/MunifTanjim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MunifTanjim/subscriptions","organizations_url":"https://api.github.com/users/MunifTanjim/orgs","repos_url":"https://api.github.com/users/MunifTanjim/repos","events_url":"https://api.github.com/users/MunifTanjim/events{/privacy}","received_events_url":"https://api.github.com/users/MunifTanjim/received_events","type":"User","site_admin":false},"labels":[{"id":46429356,"url":"https://api.github.com/repos/gohugoio/hugo/labels/Bug","name":"Bug","color":"b60205","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-17T14:18:27Z","updated_at":"2017-10-17T14:42:56Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Hugo version**: 0.30\r\n\r\n0859d9dfe647db3b8a192da38ad7efb5480a29a1 wraps `xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"` with `if .IsTranslated` block.\r\n\r\nBut as far as I know, `.IsTranslated` will always return `false` for the `sitemap.xml` template. So, `xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"` is never rendered. And it causes the following error:\r\n\r\n**Namespace prefix xhtml on link is not defined**\r\n\r\nI might be wrong, but I think #3933 should be reverted.\r\n\r\nI've tested this on a multilingual site."},"comment":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/comments/337254674","html_url":"https://github.com/gohugoio/hugo/issues/3978#issuecomment-337254674","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/3978","id":337254674,"user":{"login":"bep","id":394382,"avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"created_at":"2017-10-17T14:42:56Z","updated_at":"2017-10-17T14:42:56Z","author_association":"OWNER","body":"OK, that's not good. "}}
{"actor":{"display_login":"bep"}}