{"action":"created","issue":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3112","repository_url":"https://api.github.com/repos/Cockatrice/Cockatrice","labels_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3112/labels{/name}","comments_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3112/comments","events_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3112/events","html_url":"https://github.com/Cockatrice/Cockatrice/issues/3112","id":297150775,"number":3112,"title":"Add basic bold/italic to card text","user":{"login":"Qriist","id":26832022,"avatar_url":"https://avatars3.githubusercontent.com/u/26832022?v=4","gravatar_id":"","url":"https://api.github.com/users/Qriist","html_url":"https://github.com/Qriist","followers_url":"https://api.github.com/users/Qriist/followers","following_url":"https://api.github.com/users/Qriist/following{/other_user}","gists_url":"https://api.github.com/users/Qriist/gists{/gist_id}","starred_url":"https://api.github.com/users/Qriist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qriist/subscriptions","organizations_url":"https://api.github.com/users/Qriist/orgs","repos_url":"https://api.github.com/users/Qriist/repos","events_url":"https://api.github.com/users/Qriist/events{/privacy}","received_events_url":"https://api.github.com/users/Qriist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-14T16:04:03Z","updated_at":"2018-02-14T17:04:46Z","closed_at":null,"author_association":"NONE","body":"Gentle request to add `<b>` and `<i> `tags to card text fields in the xml. \r\n\r\nCurrently, attempts to add the tags break cockatrice's interpreting of the xml and.. that's it, no more loading. If you don't want to rewrite the xml parser to account for <> in the field (which I image would be a little bit of a pain) then some other symbol or tag could be used, such as :bold:**bolded text**:bold: that would switch the bold/italics on and off as it renders that text.\r\n\r\nExample:\r\n```\r\n<text>♥  :bold:HP:bold: 80\r\n\r\n☣ :bold:Evolves from::bold: Dratini\r\n\r\n:bold:Attacks:bold:\r\n⚔ :italic::Healing Light:italic: ⚔ \r\n{Colorless, Colorless}\r\nRemove 1 damage counter from each of your Pokémon that has any damage counters on it.\r\n\r\n⚔ :italic:Protective Wave:italic: ⚔ \r\n{Colorless, Colorless, Colorless}\r\nFlip a coin. If heads, during your opponent's next turn, prevent all effects of attacks, including damage, done to Light Dragonair.\r\n\r\n☯ :bold:Resistance & Weakness:bold:\r\nResistant to Psychic: -30\r\n\r\n↯ :bold:Retreat Cost::bold: {Colorless, Colorless}</text>\r\n```\r\n\r\nRendered example:\r\n♥  **HP** 80\r\n\r\n☣ **Evolves From:** Dratini\r\n\r\n**Attacks**\r\n⚔ _Healing Light_ ⚔ \r\n{Colorless, Colorless}\r\nRemove 1 damage counter from each of your Pokémon that has any damage counters on it.\r\n\r\n⚔ _Protective Wave_ ⚔ \r\n{Colorless, Colorless, Colorless}\r\nFlip a coin. If heads, during your opponent's next turn, prevent all effects of attacks, including damage, done to Light Dragonair.\r\n\r\n☯ **Resistance & Weakness**\r\nResistant to Psychic: -30\r\n\r\n↯ **Retreat Cost** {Colorless, Colorless}"},"comment":{"url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/comments/365675351","html_url":"https://github.com/Cockatrice/Cockatrice/issues/3112#issuecomment-365675351","issue_url":"https://api.github.com/repos/Cockatrice/Cockatrice/issues/3112","id":365675351,"user":{"login":"Qriist","id":26832022,"avatar_url":"https://avatars3.githubusercontent.com/u/26832022?v=4","gravatar_id":"","url":"https://api.github.com/users/Qriist","html_url":"https://github.com/Qriist","followers_url":"https://api.github.com/users/Qriist/followers","following_url":"https://api.github.com/users/Qriist/following{/other_user}","gists_url":"https://api.github.com/users/Qriist/gists{/gist_id}","starred_url":"https://api.github.com/users/Qriist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qriist/subscriptions","organizations_url":"https://api.github.com/users/Qriist/orgs","repos_url":"https://api.github.com/users/Qriist/repos","events_url":"https://api.github.com/users/Qriist/events{/privacy}","received_events_url":"https://api.github.com/users/Qriist/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T17:04:46Z","updated_at":"2018-02-14T17:04:46Z","author_association":"NONE","body":"Oh, I didn't know that. That would be useful!\r\n\r\n\r\n...My parser replaces the various symbols with the unicode pointer, so it renders the actual character. Lawl."}}
{"actor":{"display_login":"Qriist"}}