Skip to content

Fix unbound local error in GFM emphasis processing (#666) - #667

Merged
nicholasserra merged 2 commits into
trentm:masterfrom
Crozzers:fix-unbound-local-in-gfm-em
Dec 17, 2025
Merged

nicholasserra merged 2 commits into
trentm:masterfrom
Crozzers:fix-unbound-local-in-gfm-em

Conversation

@Crozzers

ghost commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

This PR fixes #666.

Accidentally allowed a case where middle could be undefined in has_middle.

Loading
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.

Regression: UnboundLocalError: cannot access local variable 'middle'

2 participants