Skip to content

fix: correct tag extraction bug#102

Merged
tylerdave merged 1 commit into
mainfrom
x27-bug
Apr 11, 2026
Merged

fix: correct tag extraction bug#102
tylerdave merged 1 commit into
mainfrom
x27-bug

Conversation

@tylerdave

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Docs Site preview: https://544bde8f.rockgarden.pages.dev

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - no significant issues found. The regex change is minimal and well-targeted: adding & to the negative lookbehind correctly prevents &#x27; and similar hex HTML entities from being misidentified as tags, since & is not a word character and was previously transparent to the original (?<!\w) lookbehind. The three new tests cover hex entities, entities mid-sentence, and the regression case of a normal tag appearing after an entity.

@tylerdave tylerdave merged commit d69001a into main Apr 11, 2026
6 checks passed
@tylerdave tylerdave deleted the x27-bug branch April 11, 2026 03:35
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.

1 participant