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] Message being displayed unescaped #7379

Merged
merged 4 commits into from
Jul 3, 2017

Conversation

gdelavald
Copy link
Contributor

@gdelavald gdelavald commented Jun 30, 2017

Closes #7373 #7202 #6592 #6789 #6604

Refactoring markdowncode a bit and fixes messages showing unescaped when just sent.
The cause was the html escape turning apostrophes into ' which would be parsed as a channel mention. The replace of these is done by the EmojiParser as well, so I just based my solution from that.
screen shot 2017-06-30 at 17 46 53

Any opinion on nested ternary operators?

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7379 June 30, 2017 20:50 Inactive
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7379 June 30, 2017 21:05 Inactive
@RocketChat RocketChat deleted a comment Jun 30, 2017
@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-7379 July 3, 2017 19:48 Inactive
@rodrigok rodrigok merged commit 2d8aa63 into develop Jul 3, 2017
@rodrigok rodrigok deleted the fix-flash-of-unescaped-message branch July 3, 2017 21:02
rodrigok added a commit that referenced this pull request Jul 3, 2017
@engelgabriel engelgabriel modified the milestone: 0.58.0 Jul 27, 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.

Messages are being escaped by stub method and unescaped when received from server
3 participants