hackmdio / hackmdio/hackmd-io-issues

Link to another note in the same book opens in a new tab in Chrome.

Open
#170 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
40
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### Is this a hackmd.io issue?

- Yes, the bug happens on https://hackmd.io

### What's the problem

#### Current behaviour

1. Go to https://hackmd.io/@benabraham/book-example/
2. Open any link on the right side: link in “Go to Page B” etc.
3. Link opens in a new tab (most of the time).

![video15](https://user-images.githubusercontent.com/334494/77911771-ac9cc100-7291-11ea-898c-f1e0bf0d9330.gif)

###### Sources

- Book https://hackmd.io/0HWwfBvSR_eeA4f95qteZA
- Page A: https://hackmd.io/bC65cLJtT4iRtmCLxbIPKg
- Page B: https://hackmd.io/qoN4Ee9NSY-r9Adv4avV3g
- Page C: https://hackmd.io/uq8RHC3gQfWAb4QvqoUakQ

#### Expected behaviour

**I expect note to open in the same tab and in the right pane of the book**: the same it works in both the latest Firefox and Edge 18 because links have exactly the same URL as in the „book“.

#### Environment
I use HackMD on **Desktop**

- OS: Windows 10
- Browser: Chrome 64-bit
- Browser Version: 80.0.3987.149

This behavior is also visible in:

- OS: Linux Mint 19.3
- Browser: Chromium
- Browser Version: 80

and mobile

- OS: Android 9
- Browser: Chrome
- Browser Version: 80

#### Additional context

I tested it using a clean user profile (everything is default, no extensions except Google's default for offline Docs use).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.