{"action":"created","issue":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/332","labels_url":"https://api.github.com/repos/freeorion/freeorion/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/freeorion/freeorion/issues/332/comments","events_url":"https://api.github.com/repos/freeorion/freeorion/issues/332/events","html_url":"https://github.com/freeorion/freeorion/pull/332","id":105451462,"number":332,"title":"Images in the encyclopedia","user":{"login":"Mitten-O","id":8913801,"avatar_url":"https://avatars.githubusercontent.com/u/8913801?v=3","gravatar_id":"","url":"https://api.github.com/users/Mitten-O","html_url":"https://github.com/Mitten-O","followers_url":"https://api.github.com/users/Mitten-O/followers","following_url":"https://api.github.com/users/Mitten-O/following{/other_user}","gists_url":"https://api.github.com/users/Mitten-O/gists{/gist_id}","starred_url":"https://api.github.com/users/Mitten-O/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mitten-O/subscriptions","organizations_url":"https://api.github.com/users/Mitten-O/orgs","repos_url":"https://api.github.com/users/Mitten-O/repos","events_url":"https://api.github.com/users/Mitten-O/events{/privacy}","received_events_url":"https://api.github.com/users/Mitten-O/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freeorion/freeorion/labels/feature","name":"feature","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/freeorion/freeorion/milestones/15","html_url":"https://github.com/freeorion/freeorion/milestones/Next%20release","labels_url":"https://api.github.com/repos/freeorion/freeorion/milestones/15/labels","id":1226316,"number":15,"title":"Next release","description":"Bugs, features and pull requests that should be fixed until next release.","creator":{"login":"adrianbroher","id":84891,"avatar_url":"https://avatars.githubusercontent.com/u/84891?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbroher","html_url":"https://github.com/adrianbroher","followers_url":"https://api.github.com/users/adrianbroher/followers","following_url":"https://api.github.com/users/adrianbroher/following{/other_user}","gists_url":"https://api.github.com/users/adrianbroher/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbroher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbroher/subscriptions","organizations_url":"https://api.github.com/users/adrianbroher/orgs","repos_url":"https://api.github.com/users/adrianbroher/repos","events_url":"https://api.github.com/users/adrianbroher/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbroher/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":45,"state":"open","created_at":"2015-07-26T16:21:09Z","updated_at":"2015-09-21T20:54:56Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-09-08T19:17:32Z","updated_at":"2015-09-22T16:21:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/freeorion/freeorion/pulls/332","html_url":"https://github.com/freeorion/freeorion/pull/332","diff_url":"https://github.com/freeorion/freeorion/pull/332.diff","patch_url":"https://github.com/freeorion/freeorion/pull/332.patch"},"body":"Adds the capability to embed images into encyclopedia articles.\r\n\r\nIntroduces a new text control, RichText, that parses its contents\r\nfor registered tags and creates control to display them using\r\nfactories provided at tag registration.\r\n\r\nThe tag handler controls must derive from BlockControl.\r\nIt defines the contract between the blocks and th container:\r\nthe container specifies the width and the block determines its height.\r\nThis is the easiest reasonable way to flow text.\r\n\r\nThere are only two registered tags for now, img and RichText::PLAINTEXT_TAG.\r\nImageBlock is registered to handle images and TextBLock is used to handle plain text by default.\r\n\r\nIn the encyclopedia, CUILinkTextBlock is registered as the plain text handler to\r\nenable links.\r\n\r\n![fo_suitability_wheel_image](https://cloud.githubusercontent.com/assets/8913801/9744880/228971f6-5677-11e5-8fe0-58e8665a516c.png)\r\n\r\nOnly centered, native size or automatically smaller images for now."},"comment":{"url":"https://api.github.com/repos/freeorion/freeorion/issues/comments/142339290","html_url":"https://github.com/freeorion/freeorion/pull/332#issuecomment-142339290","issue_url":"https://api.github.com/repos/freeorion/freeorion/issues/332","id":142339290,"user":{"login":"geoffthemedio","id":11386908,"avatar_url":"https://avatars.githubusercontent.com/u/11386908?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffthemedio","html_url":"https://github.com/geoffthemedio","followers_url":"https://api.github.com/users/geoffthemedio/followers","following_url":"https://api.github.com/users/geoffthemedio/following{/other_user}","gists_url":"https://api.github.com/users/geoffthemedio/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffthemedio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffthemedio/subscriptions","organizations_url":"https://api.github.com/users/geoffthemedio/orgs","repos_url":"https://api.github.com/users/geoffthemedio/repos","events_url":"https://api.github.com/users/geoffthemedio/events{/privacy}","received_events_url":"https://api.github.com/users/geoffthemedio/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T16:21:32Z","updated_at":"2015-09-22T16:21:32Z","body":"I did that, but it won't let me make a pull request and instead show an error-like message:\r\n\r\nThere isn’t anything to compare.\r\n\r\nWe couldn’t figure out how to compare these references, do they point to valid commits?\r\n\r\n(and then it has some links to various other comparisons)"}}