Skip to content

fix(citation-manager): collapse whitespace in heading normalization (Issue #14)#71

Merged
WesleyMFrederick merged 1 commit intomainfrom
claude/fix-issue-14-tdd-bsnek
Feb 1, 2026
Merged

fix(citation-manager): collapse whitespace in heading normalization (Issue #14)#71
WesleyMFrederick merged 1 commit intomainfrom
claude/fix-issue-14-tdd-bsnek

Conversation

@WesleyMFrederick
Copy link
Copy Markdown
Owner

ContentExtractor reported "Heading not found" for valid citations because
_normalizeObsidianHeading removed special chars (: | ^ etc.) without
collapsing resulting whitespace gaps. URL-encoded anchors collapse spaces
via \s+ → %20, so decoded anchors had single spaces while normalized
headings retained double spaces, causing mismatch.

Closes #14

https://claude.ai/code/session_01EP8P9d87TwzoCDh93n56G8

…Issue #14)

ContentExtractor reported "Heading not found" for valid citations because
_normalizeObsidianHeading removed special chars (: | ^ etc.) without
collapsing resulting whitespace gaps. URL-encoded anchors collapse spaces
via \s+ → %20, so decoded anchors had single spaces while normalized
headings retained double spaces, causing mismatch.

Closes #14

https://claude.ai/code/session_01EP8P9d87TwzoCDh93n56G8
@WesleyMFrederick WesleyMFrederick merged commit 25588c2 into main Feb 1, 2026
1 check failed
@WesleyMFrederick WesleyMFrederick deleted the claude/fix-issue-14-tdd-bsnek branch February 1, 2026 04:45
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.

Bug: ContentExtractor reports 'Heading not found' for valid citations

2 participants