{"action":"created","issue":{"url":"https://api.github.com/repos/cosmocode/explain/issues/6","repository_url":"https://api.github.com/repos/cosmocode/explain","labels_url":"https://api.github.com/repos/cosmocode/explain/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/cosmocode/explain/issues/6/comments","events_url":"https://api.github.com/repos/cosmocode/explain/issues/6/events","html_url":"https://github.com/cosmocode/explain/issues/6","id":179332156,"number":6,"title":"Missing ODT export","user":{"login":"aloishockenschlohe","id":22458243,"avatar_url":"https://avatars.githubusercontent.com/u/22458243?v=3","gravatar_id":"","url":"https://api.github.com/users/aloishockenschlohe","html_url":"https://github.com/aloishockenschlohe","followers_url":"https://api.github.com/users/aloishockenschlohe/followers","following_url":"https://api.github.com/users/aloishockenschlohe/following{/other_user}","gists_url":"https://api.github.com/users/aloishockenschlohe/gists{/gist_id}","starred_url":"https://api.github.com/users/aloishockenschlohe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aloishockenschlohe/subscriptions","organizations_url":"https://api.github.com/users/aloishockenschlohe/orgs","repos_url":"https://api.github.com/users/aloishockenschlohe/repos","events_url":"https://api.github.com/users/aloishockenschlohe/events{/privacy}","received_events_url":"https://api.github.com/users/aloishockenschlohe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-26T20:43:04Z","updated_at":"2016-09-28T07:27:15Z","closed_at":null,"body":" I miss the ODT export. Made a patch. Would you like to add?\r\n\r\n    public function render($format, Doku_Renderer $renderer, $data) {\r\n        if(is_null($data['desc'])) {\r\n            $renderer->doc .= hsc($data['content']);\r\n            return true;\r\n        }\r\n        if ($format == 'xhtml') {\r\n            $renderer->doc .= '<a class=\"explain\"';\r\n            if(($data['target']) !== '') {\r\n                $renderer->doc .= ' href=\"' . hsc($data['target']) . '\"';\r\n            }\r\n            $renderer->doc .= '>' . hsc($data['content']);\r\n            if ($data['desc'] !== '') {\r\n                $renderer->doc .= '<span class=\"tooltip\">'.hsc($data['desc']).'</span>';\r\n            }\r\n            $renderer->doc .= '</a>';\r\n            return true;\r\n        }\r\n        // generate output for ODT export\r\n        if ($format == 'odt') {\r\n            $renderer->doc .= hsc($data['content']);\r\n            return true;\r\n        }\r\n        return false;\r\n    }"},"comment":{"url":"https://api.github.com/repos/cosmocode/explain/issues/comments/250092277","html_url":"https://github.com/cosmocode/explain/issues/6#issuecomment-250092277","issue_url":"https://api.github.com/repos/cosmocode/explain/issues/6","id":250092277,"user":{"login":"aloishockenschlohe","id":22458243,"avatar_url":"https://avatars.githubusercontent.com/u/22458243?v=3","gravatar_id":"","url":"https://api.github.com/users/aloishockenschlohe","html_url":"https://github.com/aloishockenschlohe","followers_url":"https://api.github.com/users/aloishockenschlohe/followers","following_url":"https://api.github.com/users/aloishockenschlohe/following{/other_user}","gists_url":"https://api.github.com/users/aloishockenschlohe/gists{/gist_id}","starred_url":"https://api.github.com/users/aloishockenschlohe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aloishockenschlohe/subscriptions","organizations_url":"https://api.github.com/users/aloishockenschlohe/orgs","repos_url":"https://api.github.com/users/aloishockenschlohe/repos","events_url":"https://api.github.com/users/aloishockenschlohe/events{/privacy}","received_events_url":"https://api.github.com/users/aloishockenschlohe/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T07:27:15Z","updated_at":"2016-09-28T07:27:15Z","body":"Pull request provided. Sorry for the additional work - I am a git newbie."}}
{"actor":{"display_login":"aloishockenschlohe"}}