{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9153","repository_url":"https://api.github.com/repos/mattermost/mattermost-server","labels_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9153/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9153/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9153/events","html_url":"https://github.com/mattermost/mattermost-server/issues/9153","id":343915053,"node_id":"MDU6SXNzdWUzNDM5MTUwNTM=","number":9153,"title":"Markdown rendered incorrectly from plugin response but correctly from user input","user":{"login":"harshilsharma63","id":8211068,"node_id":"MDQ6VXNlcjgyMTEwNjg=","avatar_url":"https://avatars2.githubusercontent.com/u/8211068?v=4","gravatar_id":"","url":"https://api.github.com/users/harshilsharma63","html_url":"https://github.com/harshilsharma63","followers_url":"https://api.github.com/users/harshilsharma63/followers","following_url":"https://api.github.com/users/harshilsharma63/following{/other_user}","gists_url":"https://api.github.com/users/harshilsharma63/gists{/gist_id}","starred_url":"https://api.github.com/users/harshilsharma63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshilsharma63/subscriptions","organizations_url":"https://api.github.com/users/harshilsharma63/orgs","repos_url":"https://api.github.com/users/harshilsharma63/repos","events_url":"https://api.github.com/users/harshilsharma63/events{/privacy}","received_events_url":"https://api.github.com/users/harshilsharma63/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-07-24T07:23:14Z","updated_at":"2018-08-06T07:42:19Z","closed_at":null,"author_association":"NONE","body":"#### Summary\r\nMarkdown rendered incorrectly from plugin response but correctly from user input.\r\n\r\n#### Steps to reproduce\r\nFrom a plugin, return a `CommandResponse` with `text` set as \"`/abc def g|h <foo>` or `/abc def g|h` <bar>\".\r\nDirectly enter this text in the message box and compare the results of rendered markdown.\r\n\r\n#### Expected behavior\r\nA markdown should be rendered correctly and consistently from plugin's `CommandResponse`.\r\n\r\n#### Observed behavior (that appears unintentional) \r\nThis markdown - \"`/abc def g|h <foo>` or `/abc def g|h` <bar>\" renders differentlly from CommandResponse and user input.\r\n**Command Response (incorrectly displayed)** - /abc def g|h [h <bar](foo>or/abc def g)\r\n**User Input (correctly displayed)** - /abc def g|h <foo> or /abc def g|h <bar>\r\n"},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/comments/410617248","html_url":"https://github.com/mattermost/mattermost-server/issues/9153#issuecomment-410617248","issue_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/9153","id":410617248,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDYxNzI0OA==","user":{"login":"harshavardhana","id":622699,"node_id":"MDQ6VXNlcjYyMjY5OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/622699?v=4","gravatar_id":"","url":"https://api.github.com/users/harshavardhana","html_url":"https://github.com/harshavardhana","followers_url":"https://api.github.com/users/harshavardhana/followers","following_url":"https://api.github.com/users/harshavardhana/following{/other_user}","gists_url":"https://api.github.com/users/harshavardhana/gists{/gist_id}","starred_url":"https://api.github.com/users/harshavardhana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harshavardhana/subscriptions","organizations_url":"https://api.github.com/users/harshavardhana/orgs","repos_url":"https://api.github.com/users/harshavardhana/repos","events_url":"https://api.github.com/users/harshavardhana/events{/privacy}","received_events_url":"https://api.github.com/users/harshavardhana/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T07:42:19Z","updated_at":"2018-08-06T07:42:19Z","author_association":"CONTRIBUTOR","body":"@saturninoabril looks like you meant @harshilsharma63 "}}
{"actor":{"display_login":"harshavardhana"}}