hackmdio / hackmdio/hackmd-io-issues

The [name=] can't hold links anymore

Open
#196 0 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?

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

### What's the problem

```
>foo
>[name=[bar](http://google.com)]
```
Shows as:
![image](https://user-images.githubusercontent.com/2557965/88286181-0883cd80-ccf9-11ea-9205-d55334032af3.png)

and

```
>foo
>[name=]
```
shows as

![image](https://user-images.githubusercontent.com/2557965/88286363-4bde3c00-ccf9-11ea-8e35-ad3bb20b8894.png)

#### Expected behaviour

Before it was parsed as a link

Imagine, that 'bar' is active link, highlited in blue:
![image](https://user-images.githubusercontent.com/2557965/88286288-32d58b00-ccf9-11ea-8d5a-4c76d3ef84ca.png)

In second case it should just be an active link

#### Environment

I use HackMD on:

**Desktop**
- OS: Ubuntu 20.04
- Browser: Firefox
- Browser Version: 78.0.2

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.