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

Render section references #263

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

selfissued
Copy link
Collaborator

@selfissued selfissued commented Mar 29, 2024

Fixes #262

I'm guessing that we need the href values to point to fragment identifiers created from the section names in order for them to render correctly.


Preview | Diff

Copy link
Member

@iherman iherman left a comment

Choose a reason for hiding this comment

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

The correct syntax is, e.g. <a href="#secure-with-hose">. Without the '#' the reference is to an outside resource identified by a relative URI. With '#' it is a fragment reference.

The only magic respec does is, when a fragment URI is used, is to extract the section title and put it into the text.

@selfissued
Copy link
Collaborator Author

I applied your syntax suggestion, Ivan. Thanks!

@iherman
Copy link
Member

iherman commented Mar 29, 2024

@iherman iherman self-requested a review March 29, 2024 09:07
@selfissued selfissued merged commit 4a4a0f0 into w3c:main Mar 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
before-CR editorial Editorial changes only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Section references not rendering
3 participants