Ionaru / Ionaru/easy-markdown-editor

Asteriks * within Word interpreted as italic

Open
#496 1 comment 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**
Asterisks * inside of words are mainly used for gender-inclusive writing in German.
A word like Mechaniker*in is interpreted as italic.

**To Reproduce**
Type Mechaniker*in

**Expected behavior**
Asteriks inside words are not interpreted.
They either have to be at the beginning of a line, or after a Space to be the start of an italic word or phrase.

**Screenshots**

![Bildschirmfoto 2022-09-01 um 16 22 15](https://user-images.githubusercontent.com/15716389/187938195-4c58a050-41d2-4607-aca5-a016fc25db54.jpg)

**Version information**
- EasyMDE version: 2.17.0

Contributor guide

Open the contributing guide

Research direction

No file or test is named. First reproduce the issue by entering “Mechaniker*in” in EasyMDE, then trace the Markdown parsing or italic-detection entry point. Done means asterisks inside words remain literal while asterisks at the start of a line or after a space still begin italic text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
content, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.