From 3e48989e83dc3c43595dabc968aff0860c7c599a Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sat, 4 Apr 2026 14:21:54 -0400 Subject: [PATCH] fix: Rename duplicate extractHTMLMetadata in html-parser Fix infinite recursion bug where exported function called itself. Renamed to getHTMLMetadata to avoid duplicate declaration. --- web/src/reader/parsers/html-parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/reader/parsers/html-parser.ts b/web/src/reader/parsers/html-parser.ts index 04f7bd5..024bdde 100644 --- a/web/src/reader/parsers/html-parser.ts +++ b/web/src/reader/parsers/html-parser.ts @@ -150,7 +150,7 @@ function stripHTML(html: string): string { // Metadata Quick Extract // ============================================================ -export async function extractHTMLMetadata( +export async function getHTMLMetadata( htmlBlob: Blob, ): Promise> { const htmlContent = await htmlBlob.text();