Skip to content

Fix & being encoded as & in outbound URLs#84

Merged
514sid merged 1 commit intomainfrom
fix-outbound-url-encoding
Mar 21, 2026
Merged

Fix & being encoded as & in outbound URLs#84
514sid merged 1 commit intomainfrom
fix-outbound-url-encoding

Conversation

@514sid
Copy link
Copy Markdown
Collaborator

@514sid 514sid commented Mar 21, 2026

Use return + safeURL in outbound-url.html partial so Hugo preserves the template.URL type at call sites and skips HTML escaping. Pre-compute URL variables at the top of single.html to avoid inline partial calls inside href attributes.

Use return + safeURL in outbound-url.html partial so Hugo preserves
the template.URL type at call sites and skips HTML escaping. Pre-compute
URL variables at the top of single.html to avoid inline partial calls
inside href attributes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@514sid 514sid merged commit 45e406a into main Mar 21, 2026
1 check passed
@514sid 514sid deleted the fix-outbound-url-encoding branch March 21, 2026 19:11
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.

1 participant