{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/1951","repository_url":"https://api.github.com/repos/mattermost/mattermost-mobile","labels_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/1951/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/1951/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/1951/events","html_url":"https://github.com/mattermost/mattermost-mobile/issues/1951","id":345296379,"node_id":"MDU6SXNzdWUzNDUyOTYzNzk=","number":1951,"title":"Inline Images with a size constraint are not rendered","user":{"login":"Thoro","id":554474,"node_id":"MDQ6VXNlcjU1NDQ3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/554474?v=4","gravatar_id":"","url":"https://api.github.com/users/Thoro","html_url":"https://github.com/Thoro","followers_url":"https://api.github.com/users/Thoro/followers","following_url":"https://api.github.com/users/Thoro/following{/other_user}","gists_url":"https://api.github.com/users/Thoro/gists{/gist_id}","starred_url":"https://api.github.com/users/Thoro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thoro/subscriptions","organizations_url":"https://api.github.com/users/Thoro/orgs","repos_url":"https://api.github.com/users/Thoro/repos","events_url":"https://api.github.com/users/Thoro/events{/privacy}","received_events_url":"https://api.github.com/users/Thoro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"hmhealey","id":3277310,"node_id":"MDQ6VXNlcjMyNzczMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3277310?v=4","gravatar_id":"","url":"https://api.github.com/users/hmhealey","html_url":"https://github.com/hmhealey","followers_url":"https://api.github.com/users/hmhealey/followers","following_url":"https://api.github.com/users/hmhealey/following{/other_user}","gists_url":"https://api.github.com/users/hmhealey/gists{/gist_id}","starred_url":"https://api.github.com/users/hmhealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmhealey/subscriptions","organizations_url":"https://api.github.com/users/hmhealey/orgs","repos_url":"https://api.github.com/users/hmhealey/repos","events_url":"https://api.github.com/users/hmhealey/events{/privacy}","received_events_url":"https://api.github.com/users/hmhealey/received_events","type":"User","site_admin":false},"assignees":[{"login":"hmhealey","id":3277310,"node_id":"MDQ6VXNlcjMyNzczMTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3277310?v=4","gravatar_id":"","url":"https://api.github.com/users/hmhealey","html_url":"https://github.com/hmhealey","followers_url":"https://api.github.com/users/hmhealey/followers","following_url":"https://api.github.com/users/hmhealey/following{/other_user}","gists_url":"https://api.github.com/users/hmhealey/gists{/gist_id}","starred_url":"https://api.github.com/users/hmhealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmhealey/subscriptions","organizations_url":"https://api.github.com/users/hmhealey/orgs","repos_url":"https://api.github.com/users/hmhealey/repos","events_url":"https://api.github.com/users/hmhealey/events{/privacy}","received_events_url":"https://api.github.com/users/hmhealey/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-07-27T16:51:58Z","updated_at":"2018-07-27T17:45:12Z","closed_at":null,"author_association":"NONE","body":"#### Summary\r\nWhen posting an inline image link with a size constraint in a channel, the mobile app is rendering the plain text.\r\n\r\n#### Environment Information\r\n\r\n- Device Name: iPhone X\r\n- OS Version: 11.4.1\r\n- Mattermost App Version: 1.10.0 (Build 127)\r\n- Mattermost Server Version: 5.1.0\r\n\r\n#### Steps to reproduce\r\nInsert a link like so into a post\r\n\r\n```\r\n![Mattermost](https://docs.mattermost.com/_images/icon-76x76.png =76x76 \"Mattermost Icon\")\r\n```\r\n\r\n#### Expected behavior\r\nThat the image is displayed in the asked format and that small images are shown on the same line.\r\n\r\n#### Observed behavior\r\nThe original markup text is displayed instead of the image, when removing =76x76 it works.\r\n\r\n#### Possible fixes\r\nI guess the parser just doesn't know about the = part\r\nMore specifically the check is here https://github.com/mattermost/commonmark.js/blob/e5c34706cafa2924370772ff47937b833648a6de/lib/inlines.js#L689 which would need to be extended by the =witdthxheight markup \r\n\r\nDid the first step by adding the parsing options to the parser."},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/comments/408490637","html_url":"https://github.com/mattermost/mattermost-mobile/issues/1951#issuecomment-408490637","issue_url":"https://api.github.com/repos/mattermost/mattermost-mobile/issues/1951","id":408490637,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQ5MDYzNw==","user":{"login":"amyblais","id":29708087,"node_id":"MDQ6VXNlcjI5NzA4MDg3","avatar_url":"https://avatars3.githubusercontent.com/u/29708087?v=4","gravatar_id":"","url":"https://api.github.com/users/amyblais","html_url":"https://github.com/amyblais","followers_url":"https://api.github.com/users/amyblais/followers","following_url":"https://api.github.com/users/amyblais/following{/other_user}","gists_url":"https://api.github.com/users/amyblais/gists{/gist_id}","starred_url":"https://api.github.com/users/amyblais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyblais/subscriptions","organizations_url":"https://api.github.com/users/amyblais/orgs","repos_url":"https://api.github.com/users/amyblais/repos","events_url":"https://api.github.com/users/amyblais/events{/privacy}","received_events_url":"https://api.github.com/users/amyblais/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T17:45:12Z","updated_at":"2018-07-27T17:45:12Z","author_association":"CONTRIBUTOR","body":"Thanks for reporting this @Thoro! I'll test it out and report back if I can repro."}}
{"actor":{"display_login":"amyblais"}}