Skip to content

Fix bad source position for certain atx headers - #657

Open
jgm wants to merge 1 commit into
masterfrom
issue656
Open

jgm wants to merge 1 commit into
masterfrom
issue656

Conversation

@jgm

@jgm jgm commented Nov 8, 2026

Copy link
Copy Markdown
Member

Fix incorrect source position for ATX heading with no content.

This was caused by a bug in chop_trailing_hashtags.

Closes #656.

This was caused by a bug in `chop_trailing_hashtags`.

Add test in api tests.

Closes #656.
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

Successfully merging this pull request may close these issues.

fix(sourcepos): empty ATX heading gets an end position before its start

1 participant