Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Add support for carriage return in markdown code blocks #7072

Merged
merged 1 commit into from
May 31, 2017

Conversation

factorin-j
Copy link

@factorin-j factorin-j commented May 24, 2017

@RocketChat/core

When I created an integration with Github (to notify PR comments), I noticed that the markdown is not working for code blocks if its a message attachment. Its because Github webhook payload has carriage return and new line \r\n. That's why javascript regex cannot split the text correctly

refs: https://demo.rocket.chat/channel/support?msg=hkHxtB3vtnCq7X9JY

@CLAassistant
Copy link

CLAassistant commented May 24, 2017

CLA assistant check
All committers have signed the CLA.

@rodrigok rodrigok added this to the 0.57.0 milestone May 31, 2017
@rodrigok rodrigok merged commit d695d10 into RocketChat:develop May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants