{"action":"created","issue":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/2644","labels_url":"https://api.github.com/repos/libgdx/libgdx/issues/2644/labels{/name}","comments_url":"https://api.github.com/repos/libgdx/libgdx/issues/2644/comments","events_url":"https://api.github.com/repos/libgdx/libgdx/issues/2644/events","html_url":"https://github.com/libgdx/libgdx/issues/2644","id":51920341,"number":2644,"title":"BitmapFont markup language shouldn't crash if there is an invalid color code.","user":{"login":"vedi0boy","id":4818003,"avatar_url":"https://avatars.githubusercontent.com/u/4818003?v=3","gravatar_id":"","url":"https://api.github.com/users/vedi0boy","html_url":"https://github.com/vedi0boy","followers_url":"https://api.github.com/users/vedi0boy/followers","following_url":"https://api.github.com/users/vedi0boy/following{/other_user}","gists_url":"https://api.github.com/users/vedi0boy/gists{/gist_id}","starred_url":"https://api.github.com/users/vedi0boy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedi0boy/subscriptions","organizations_url":"https://api.github.com/users/vedi0boy/orgs","repos_url":"https://api.github.com/users/vedi0boy/repos","events_url":"https://api.github.com/users/vedi0boy/events{/privacy}","received_events_url":"https://api.github.com/users/vedi0boy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libgdx/libgdx/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-12-14T14:13:09Z","updated_at":"2015-02-04T01:21:48Z","closed_at":null,"body":"This is not so much a bug as a suggestion. I would like to use LibGDX's markup language to use in an ingame chat but the issue with this is that if a user uses a color code incorrectly, all the clients will crash. I thought it might be a good idea to instead of crashing the program when it encounters an invalid color code it could instead just remove the color code and print the error in the console. Thanks!"},"comment":{"url":"https://api.github.com/repos/libgdx/libgdx/issues/comments/72772566","html_url":"https://github.com/libgdx/libgdx/issues/2644#issuecomment-72772566","issue_url":"https://api.github.com/repos/libgdx/libgdx/issues/2644","id":72772566,"user":{"login":"vedi0boy","id":4818003,"avatar_url":"https://avatars.githubusercontent.com/u/4818003?v=3","gravatar_id":"","url":"https://api.github.com/users/vedi0boy","html_url":"https://github.com/vedi0boy","followers_url":"https://api.github.com/users/vedi0boy/followers","following_url":"https://api.github.com/users/vedi0boy/following{/other_user}","gists_url":"https://api.github.com/users/vedi0boy/gists{/gist_id}","starred_url":"https://api.github.com/users/vedi0boy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedi0boy/subscriptions","organizations_url":"https://api.github.com/users/vedi0boy/orgs","repos_url":"https://api.github.com/users/vedi0boy/repos","events_url":"https://api.github.com/users/vedi0boy/events{/privacy}","received_events_url":"https://api.github.com/users/vedi0boy/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T01:21:48Z","updated_at":"2015-02-04T01:21:48Z","body":"Even better, for me at least, keep the bad markup in the text just make it have no effect. So no exceptions thrown and if a bad markup is there, it is easy to debug and tell where the markup is bad. If you need an example of what I mean just ask."}}