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

Overlapping emphasis #16

Open
bert-github opened this issue May 16, 2024 · 0 comments
Open

Overlapping emphasis #16

bert-github opened this issue May 16, 2024 · 0 comments

Comments

@bert-github
Copy link
Owner

When two potential emphasis spans overlap, it is not always the first that takes precedence. (Violates rule 15.)

E.g.,

*foo _bar* baz_

is correctly parsed as

<em>foo _bar</em> baz_

but

_bim *foo _bar* baz_

is parsed as

_bim *foo <em>bar* baz</em>

(The first _, even though it is eventually not used for emphasis, still influences which delimiter is tried first.)

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