Skip to content

Fix: Fix broken link previews on anchored links - #183

Merged
ByteOtter merged 1 commit into
mainfrom
fix/link-previews
Sep 29, 2026
Merged

ByteOtter merged 1 commit into
mainfrom
fix/link-previews

Conversation

@ByteOtter

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Fix link previews not displaying correctly with links to pages which include anchors.

Which issue(s) this PR fixes:
Fixes #176

Definition of Done:

  • The code is sufficiently documented
  • Shared the changes with the Team so everyone is aware
  • The code is appropriately tested
  • Checked if the code needs to be backportet to release branches of maintained versions (perform the actual backport after the merge to main)

Signed-off-by: Tiara Lena Hock <hock@b1-systems.de>
@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for gardenlinux-docs ready!

Name Link
🔨 Latest commit b4b8b7c
🔍 Latest deploy log https://app.netlify.com/projects/gardenlinux-docs/deploys/6aba7f6b84365c0008facb12
😎 Deploy Preview https://deploy-preview-183--gardenlinux-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@yeoldegrove yeoldegrove self-assigned this Sep 29, 2026
@yeoldegrove yeoldegrove added this to the 2026-09 milestone Sep 29, 2026
@yeoldegrove yeoldegrove assigned ByteOtter and unassigned yeoldegrove Sep 29, 2026
@yeoldegrove
yeoldegrove self-requested a review September 29, 2026 07:21

@yeoldegrove yeoldegrove left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Testd this locally on http://localhost:5173/introduction/ and it works for me 🥳

@ByteOtter

Copy link
Copy Markdown
Collaborator Author

Testd this locally on http://localhost:5173/introduction/ and it works for me 🥳

Thanks for letting me know. Just FYI This is a feature we need to test locally and in prod/deployment as both build types pull different sources (markdown and html), but it works in the test build too. :)

@ByteOtter
ByteOtter merged commit 8b713ab into main Sep 29, 2026
14 checks passed
@ByteOtter
ByteOtter deleted the fix/link-previews branch September 29, 2026 07:33
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.

[BUG] link previews to anchors have wrong heading/description texts

2 participants