Skip to content

[FIX] Link for channels are not rendering correctly#8985

Merged
rodrigok merged 3 commits intodevelopfrom
fix-channel-link-on-url
Dec 4, 2017
Merged

[FIX] Link for channels are not rendering correctly#8985
rodrigok merged 3 commits intodevelopfrom
fix-channel-link-on-url

Conversation

@karlprieb
Copy link
Copy Markdown
Contributor

@RocketChat/core

Closes #8954

image

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-8985 November 30, 2017 18:11 Inactive
@geekgonecrazy geekgonecrazy added this to the 0.60.0 milestone Nov 30, 2017
Copy link
Copy Markdown
Contributor

@gdelavald gdelavald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any change needed on the npm-shrinkwrap and package-lock here?

'hello #general, how are you?'
].forEach(text => {
it(`should return "${ JSON.stringify(result) }" from "${ text }"`, () => {
console.log('result', mention.getChannelMentions(text));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check if this console.log breaks any test?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't break, but I'll remove.

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-8985 December 1, 2017 20:16 Inactive
@rodrigok rodrigok changed the title [FIX] channel link on urls [FIX] Link for channels are not rendering correctly Dec 4, 2017
@rodrigok rodrigok merged commit 6ae7a3f into develop Dec 4, 2017
@rodrigok rodrigok deleted the fix-channel-link-on-url branch December 4, 2017 20:10
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.

Links with anchors break badly

6 participants