Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve epub:noteref/footnote support #1400

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

MurakamiShinyu
Copy link
Member

Vivliostyle.js supports EPUB footnotes with epub:type="noteref" and epub:type="footnote" attributes. However, there were the following issues:

  • epub:type="noteref" did not work when the href attribute contains a file name, e.g., <a href="sample.xhtml#fn1" epub:type="noteref">, even if the file name is the same as the current document.
  • It only worked with XHTML documents.

Vivliostyle.js supports EPUB footnotes with `epub:type="noteref"` and `epub:type="footnote"` attributes. However, there were the following issues:

- `epub:type="noteref"` did not work when the `href` attribute contains a file name, e.g., `<a href="sample.xhtml#fn1" epub:type="noteref">`, even if the file name is the same as the current document.
- It only worked with XHTML documents.
Copy link

vercel bot commented Oct 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vivliostyle ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 10:50am

@MurakamiShinyu MurakamiShinyu merged commit 3ac2dcc into master Oct 23, 2024
5 checks passed
@MurakamiShinyu MurakamiShinyu deleted the fix/epub-noteref branch October 23, 2024 16:08
MurakamiShinyu added a commit that referenced this pull request Oct 25, 2024
fix: Improve epub:noteref/footnote support
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