-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
No response
Bug description
The Zensical Instant Preview feature fails to trigger or load correctly when a link points to a specific header (anchor) that contains Chinese characters. While standard page-level previews and English-character header previews work as expected, links using Chinese anchors do not render the preview overlay.
Related links
Reproduction
Steps to reproduce
- Initialize a Zensical project with the zensical.extensions.preview extension enabled.
- Create a target file (e.g., test.md) with a Chinese heading: ## 中文錨點.
- On the index page, create a link to that heading using the { data-preview } attribute:
Test Link{ data-preview }. - Run uv run zensical serve and hover over the link.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open