Ionaru / Ionaru/easy-markdown-editor

Bold and italics highlighting when there is a space before closing *

Open
#74 5 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When there is a space before the closing * of a part of the text, it shouldn't be italics/bold. In the editor, it not only is higlighted as bold, but the bolding doesn't end with the closing * and continues on.

**To Reproduce**
Steps to reproduce the behavior:
1. Type `**Hello ** World`

**Expected behavior**
\*\*Hello \*\* World

**Actual behaviour**
**\*\*Hello \*\* World**

** Version information **
- OS: Debian testing
- Browser: Firefox, Chrome
- EasyMDE version: 2.5.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.