fix: removed double quote on "h-entry\""

This commit is contained in:
Sven
2026-03-20 14:45:35 +01:00
parent fe0f347e49
commit 750267b175

View File

@@ -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?)\`);