-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Emphasis in Markdown gives erroneous output in RichText #2974
Comments
Thanks for opening this, Apologies I did not notice it before commenting on the other thread where you mentioned this |
Confirmed, thanks for reporting |
…nd Emph to avoid wrong markdown render
@jfjensen I cannot come up with an elegant way, I think @andydotxyz do you have any advice? |
Or I can rewrite markdown render. Is this welcomed? |
@d4x1 Thanks for looking into this! Perhaps a total rewrite is indeed necessary? |
At least you can refer to my modification, it makes emphasis' behavior normal. :) |
No specific thoughts. We always prefer smallest change possible - but some times the implementation was going down a blind alley. As long as there is no change to the It's a naive stack implementation, but could certainly be better. |
Maybe #3086 makes you a little happy? :) |
Merged for v2.22 |
Describe the bug:
If I run the example code from #2589 and type in
**hello**
then no emphasis is added. The emphasis only appears when I add another*
, which is obviously incorrect behavior.The bug must be somewhere in the Markdown Renderer where the emphasis is handled.
To Reproduce:
Steps to reproduce the behaviour:
**hello**
into the editor panel on the left. No emphasis is added.*
.Screenshots:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: