Skip to content

Conversation

tnhu
Copy link
Contributor

@tnhu tnhu commented Sep 29, 2022

Fix a bug in Disable Header links example section.

Given a heading:

# A demo of `react-markdown`

Example will yield:

<h1>A demo of</h1>

Which is not correct, the text react-markdown is ignored.

With the fix, example will yield correct output:

<h1>A demo of <code>react-markdown</code></h1>

Fix a bug in `Disable Header links` example section.

Given a heading:

```
# A demo of `react-markdown`
```

Example will yield:

```
<h1>A demo of</h1>
```

Which is not correct, the text `react-markdown` is ignored.

Withe the fix, example will yield correct output:

```
<h1>A demo of <code>react-markdown</code></h1>
```
@jaywcjlove jaywcjlove merged commit 9805216 into uiwjs:master Sep 30, 2022
github-actions bot added a commit that referenced this pull request Sep 30, 2022
Fix a bug in `Disable Header links` example section.

Given a heading:

```
# A demo of `react-markdown`
```

Example will yield:

```
<h1>A demo of</h1>
```

Which is not correct, the text `react-markdown` is ignored.

Withe the fix, example will yield correct output:

```
<h1>A demo of <code>react-markdown</code></h1>
``` 9805216
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.

2 participants