From c463e4adb766787866f103f190471fe188bbc264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pl=C3=B6ger?= <137512150+aplgr@users.noreply.github.com> Date: Sun, 25 Oct 2026 14:00:40 -0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Keep=20provider-specific?= =?UTF-8?q?=20URL=20encoding=20explicit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/sharing-links.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/sharing-links.html b/layouts/partials/sharing-links.html index 4a416055..c8e5bb5a 100644 --- a/layouts/partials/sharing-links.html +++ b/layouts/partials/sharing-links.html @@ -2,13 +2,15 @@ {{ $links := hugo.Data.sharing }} {{ $pageURL := urlquery $.Permalink }} {{ $pageTitle := urlquery $.Title }} + {{ $mastodonURL := replace $pageURL "+" "%20" }} + {{ $mastodonTitle := replace $pageTitle "+" "%20" }}
{{ range . }} {{ with index $links . }} {{ partial "icon.html" .icon }}