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

Markdown url links that point to server url should not open in blank #4245

Merged
merged 1 commit into from
Sep 8, 2016

Conversation

marceloschmidt
Copy link
Member

@RocketChat/core

Closes #3432

Markdown links such as [Rocket.Chat](https://demo.rocket.chat/channel/meteor) that point to the server URL should not open in a new tab (_blank).

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-4245 September 8, 2016 18:44 Inactive
@geekgonecrazy
Copy link
Contributor

Awesome! This will be super useful

lgtm

@engelgabriel engelgabriel merged commit 83e743a into develop Sep 8, 2016
@engelgabriel engelgabriel added this to the 0.40.0 milestone Sep 8, 2016
@engelgabriel engelgabriel deleted the markdown-own-url branch September 8, 2016 21:04
@Syirrus
Copy link

Syirrus commented Oct 26, 2016

This is not fixed for cordova :( If I add [:notepad_spiral: Yahoo](http://www.yahoo.com) in a channel and access it via cordova it opens in the system browser.

@geekgonecrazy
Copy link
Contributor

@Syirrus this fix was specifically if someone pasted a link to a channel or resource in the same server.

So if your server was demo.rocket.chat and someone posted a link to demo.rocket.chat/channel/general then it wouldn't open in a new window or tab.

Please see RocketChat/Rocket.Chat.Cordova#142

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.

Link to channel in channel topic
4 participants