hackmdio / hackmdio/hackmd-io-issues

[name=..] doesn't work if quote contains code block

Open
#198 0 comments 0 reactions 0 assignees View on GitHub
bug
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
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd

### What's the problem

```
> foo
> ```js
> let a = 5;
> ```
> [name=adsf]

> foo
> [name=adsf]
```

#### Current behaviour

![image](https://user-images.githubusercontent.com/50261/89514935-ca95a780-d7d6-11ea-9d41-8ad135f189fe.png)

#### Expected behaviour

I would expect `[name=..]` to render the same in both cases.

#### Environment

I use HackMD on:

**Desktop**
- OS: Linux
- Browser: Firefox
- Browser Version: 80.0b4

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.