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

Misinterpreting *italics*normal*italics* #612

Open
MichalPaszowski opened this issue Oct 31, 2024 · 2 comments
Open

Misinterpreting *italics*normal*italics* #612

MichalPaszowski opened this issue Oct 31, 2024 · 2 comments

Comments

@MichalPaszowski
Copy link

Library seems to have problem with correct interpretation of strings like this *italics*normal*italics*.
Instead of showing italicsnormalitalics it behaves like it is put in code block and prints string as is.
Is it a bug, or a feature? Can I somehow alter how library deals with that?

@quantizor
Copy link
Owner

The behavior for this scenario is a bit ambiguous since it appears to be all one word, I made the decision to parse the outermost syntax first. Therefore for *italics*normal*italics* the whole string would be italic. If you put a space before "normal" then it will break the italics, e.g. *italics* normal *italics*

@MichalPaszowski
Copy link
Author

I am aware of that, but most libraries that I have tested - Github included, deal with it in a way I have described. I can offer help in making a change, if time is a factor here.

@quantizor quantizor reopened this Nov 14, 2024
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

2 participants