Skip to content

fix: remove extra whitespace after content links - #26857

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:link-trailing-space
Open

dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:link-trailing-space

Conversation

@dvdksn

@dvdksn dvdksn commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

The HTML link render hook emitted a trailing newline, which browsers displayed as an extra space between links and following punctuation. Trim that whitespace with a template comment explaining why it is needed.

Verified with a Hugo fixture covering punctuation, intentional spaces, and adjacent links.

Generated by Codex

The HTML link render hook emitted a trailing newline that browsers displayed as a space before punctuation. Trim that whitespace with a template comment explaining why it is needed.
@dvdksn dvdksn added the status/review Pull requests that are ready for review label Dec 2, 2026
@dvdksn
dvdksn requested a review from a team December 2, 2026 13:38
@github-actions github-actions Bot added the hugo Updates related to hugo label Dec 2, 2026
@netlify

netlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 76fe941
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b101f5c0ec09a7a3a702f83
😎 Deploy Preview https://deploy-preview-26857--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@docker-agent docker-agent 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.

Assessment: 🟢 APPROVE

This branch has not been deployed

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

Labels

hugo Updates related to hugo status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants