Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Bold issue #46

Open
Ch0wW opened this issue Sep 28, 2020 · 2 comments
Open

Bold issue #46

Ch0wW opened this issue Sep 28, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Ch0wW
Copy link

Ch0wW commented Sep 28, 2020

Using the Bold markdown with a space leads to undesired behaviour with the WTSIWYG editor, aswell as the final result.

image

Result:
image

@chrisvel
Copy link
Owner

chrisvel commented Oct 1, 2020

I am sorry for the late reply. I don't think this is an issue. According to the markdown guide:

To bold text, add two asterisks or underscores before and after a word or phrase. To bold the middle of a word for emphasis, add two asterisks without spaces around the letters.

In your first example, it seems that you didn't close the bold asterisks. Even in github **see ** this.
And
**this ** is bold text
something

Or is it something else I am missing ?

@Ch0wW
Copy link
Author

Ch0wW commented Oct 3, 2020

Indeed, Markdown didn't support the bold propertly after adding spaces. I wasn't aware of that, so my bad.

However, that gives out another issue with the Markdown parser or the preview editor. Actually, using the same example above, the italic property shouldn't be applied. For the editor, the bold properties shouldn't be seen through the whole sentence. Here's what Github applies below :

**Using a Bold ** text and not delimiting with with a space makes the text parser go crazy, and only parses an italic.

@chrisvel chrisvel added the bug Something isn't working label Oct 6, 2020
@chrisvel chrisvel self-assigned this Oct 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants