-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 and Italic intersection incorrect Markdown #1806
Comments
@Tiberiusss |
I believe this I've come across the same or a similiar issue, or related at least (perhaps something about the regex in Markdown marks?). Here I've reproduced it in the example page: It seems like it only matches part of the syntax and ends up in a limbo state with part html/part markdown 🤔
And then once again after switching to markdown once again:
Looking at the regex expression in the strong.ts file, it seems like it only matches the starting asterisks for example, if I understand it correctly (checked on regex101 website): |
Describe the bug
If you use bold and italic at the intersection of a word, then the output markdown will be incorrect
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Markdown will be
**bold*****and***​*italic*
or**bold*****and***_italic_
and preview:Editor version: 3.1.0
The text was updated successfully, but these errors were encountered: