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

Multi reference same file #276

Open
wants to merge 4 commits into
base: 0.5.x
Choose a base branch
from

Conversation

alamirault
Copy link

Try fix #275

When a ref is in a included file which is used multiple time, generated anchor it's always the same and not the best.

$contents
);

$expected = '<p>Reference is <a href="page2.html#reference-one">here</a></p>';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For anyone wondering, the bug is that without @alamirault 's changes, instead of page2.html, page1.html is used.

@greg0ire
Copy link
Member

It seems there are CI jobs failing. Please take a look at this guide for more on how to handle those.

@alamirault
Copy link
Author

@greg0ire I fixed code style, pipeline should be green now

.. _reference-one:

``one``
~~~~~~~~~~~
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know that GitHub highlights a missing newline at the end of a file.

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.

Better anchor URL for include reference
3 participants