fix: Rename duplicate extractHTMLMetadata in html-parser
Fix infinite recursion bug where exported function called itself. Renamed to getHTMLMetadata to avoid duplicate declaration.
This commit is contained in:
@@ -150,7 +150,7 @@ function stripHTML(html: string): string {
|
||||
// Metadata Quick Extract
|
||||
// ============================================================
|
||||
|
||||
export async function extractHTMLMetadata(
|
||||
export async function getHTMLMetadata(
|
||||
htmlBlob: Blob,
|
||||
): Promise<Partial<EbookCIF["metadata"]>> {
|
||||
const htmlContent = await htmlBlob.text();
|
||||
|
||||
Reference in New Issue
Block a user