Skip to content

Conversation

jacob-gaylord
Copy link

Fix: citation links now handle spaces & special characters

app/frontend/src/api/api.ts
• Updated getCitationFilePath to encodeURIComponent the filename portion while leaving any #page= fragment intact.
• Ensures citations like [My File.pdf#page=3] resolve to /content/My%20File.pdf#page=3 and load correctly.

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