Skip to content

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

Description

@sandersk

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")

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions