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

Pass source-link-node param to href.target when doing footnote processing #195

Open
sandersk opened this issue Sep 9, 2015 · 0 comments

Comments

@sandersk
Copy link
Contributor

sandersk commented Sep 9, 2015

When doing footnote processing, pass source-link-node param to all calls of href.target, e.g.:

https://github.com/oreillymedia/HTMLBook/blob/master/htmlbook-xsl/elements.xsl#L339
https://github.com/oreillymedia/HTMLBook/blob/master/htmlbook-xsl/elements.xsl#L377
https://github.com/oreillymedia/HTMLBook/blob/master/htmlbook-xsl/elements.xsl#L461

so that bidirectional hrefs for footnotes in the same chunk will be more concise, (e.g., href="#id123" instead of href="ch01.html#id123")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant