Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bold text breaks if it starts or ends with a space #975

Open
marekdedic opened this issue Mar 14, 2023 · 0 comments
Open

Bold text breaks if it starts or ends with a space #975

marekdedic opened this issue Mar 14, 2023 · 0 comments

Comments

@marekdedic
Copy link
Contributor

marekdedic commented Mar 14, 2023

Hi,
I am encountering this problem with showdown - the first line is correct, the other two are IMHO incorrect

Input:

This text has a **bold** word.
This text has a ** bold** word.
This text has a **bold ** word.

Expected output:

This text has a <b>bold</b> word.
This text has a <b> bold</b> word.
This text has a <b>bold </b> word.

Actual output:

This text has a <b>bold</b> word.
This text has a ** bold** word.
This text has a **bold ** word.

Might be related to #726 and #741

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

No branches or pull requests

1 participant