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

Non-alphabetical start of the string breaks the markup in some cases #287

Open
vadjs opened this issue Jul 11, 2024 · 0 comments
Open

Non-alphabetical start of the string breaks the markup in some cases #287

vadjs opened this issue Jul 11, 2024 · 0 comments

Comments

@vadjs
Copy link

vadjs commented Jul 11, 2024

Good morning,

I'm the author of the Jira ADF -> Markdown converter(not published yet). And I faced the next issue in some advanced cases. The easiest way to describe such cases is to provide the examples:

**bold*****bold italic***   // works correct
**bold** ***|bold italic*** // works correct
**bold*****|bold italic*** // works incorrect
**bold****​*​bold italic​*​** // works incorrect

The problem is when there are several similar rules one-by-one without any breaks, the non-alphabetical symbol at the start of the string breaks the markup, even though it's not used for any rules.
In the last example I used a Zero-width space to be sure that there are no rules used for such symbols.

I would appreciate it if you resolve this bug.

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