From 750267b175d946998a722f98ee3e547145ab9264 Mon Sep 17 00:00:00 2001 From: Sven Date: Fri, 20 Mar 2026 14:45:35 +0100 Subject: [PATCH] fix: removed double quote on "h-entry\"" --- scripts/patch-webmention-sender-livefetch.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/patch-webmention-sender-livefetch.mjs b/scripts/patch-webmention-sender-livefetch.mjs index 40688d9c..401940f8 100644 --- a/scripts/patch-webmention-sender-livefetch.mjs +++ b/scripts/patch-webmention-sender-livefetch.mjs @@ -99,7 +99,7 @@ const newBlock = ` // [patched:livefetch:v2] Always fetch the live page s // Validate the response is a real post page, not an error/502 page. // extractLinks scopes to .h-entry, so if there's no .h-entry the page // is not a valid post (e.g. nginx 502, login redirect, error template). - if (_html.includes("h-entry\"") || _html.includes("h-entry ")) { + if (_html.includes("h-entry\") || _html.includes("h-entry ")) { contentToProcess = _html; } else { console.log(\`[webmention] Live page for \${postUrl} has no .h-entry — skipping (error page?)\`);