{"action":"opened","issue":{"url":"https://api.github.com/repos/vector-im/riot-web/issues/7324","repository_url":"https://api.github.com/repos/vector-im/riot-web","labels_url":"https://api.github.com/repos/vector-im/riot-web/issues/7324/labels{/name}","comments_url":"https://api.github.com/repos/vector-im/riot-web/issues/7324/comments","events_url":"https://api.github.com/repos/vector-im/riot-web/issues/7324/events","html_url":"https://github.com/vector-im/riot-web/issues/7324","id":359460564,"node_id":"MDU6SXNzdWUzNTk0NjA1NjQ=","number":7324,"title":"Quoting a codeblock adds spurious backslashes into markdown characters","user":{"login":"ara4n","id":1294269,"node_id":"MDQ6VXNlcjEyOTQyNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1294269?v=4","gravatar_id":"","url":"https://api.github.com/users/ara4n","html_url":"https://github.com/ara4n","followers_url":"https://api.github.com/users/ara4n/followers","following_url":"https://api.github.com/users/ara4n/following{/other_user}","gists_url":"https://api.github.com/users/ara4n/gists{/gist_id}","starred_url":"https://api.github.com/users/ara4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ara4n/subscriptions","organizations_url":"https://api.github.com/users/ara4n/orgs","repos_url":"https://api.github.com/users/ara4n/repos","events_url":"https://api.github.com/users/ara4n/events{/privacy}","received_events_url":"https://api.github.com/users/ara4n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-12T12:37:58Z","updated_at":"2018-09-12T12:37:58Z","closed_at":null,"author_association":"MEMBER","body":"This is very similar to #4809 (and thus entangled with #4674) but not necessarily the same.\r\n\r\nIf you are in MD mode in Slate and try to quote a message with a code block, then any MD content in the codeblock gets escaped with a backslash, which then leaks into the final message.  We should not be escaping content in code blocks.\r\n\r\nPresumably we can just fix this in the MessageComposer code by ensuring that the quote code only applies MD escaping to things which aren't in code blocks - and now that Slate gives us a nice parse tree for finding code blocks, this should be easy?"}}
{"actor":{"display_login":"ara4n"}}