From 7f48e276f1370fc28cba8d9f98582516d84243e0 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Thu, 20 Nov 2025 17:23:04 +0530 Subject: [PATCH] chore: lint --- server/src/markdownify/markdown.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/markdownify/markdown.ts b/server/src/markdownify/markdown.ts index f50136f6..eb4567f3 100644 --- a/server/src/markdownify/markdown.ts +++ b/server/src/markdownify/markdown.ts @@ -17,7 +17,7 @@ export async function parseMarkdown( }); // --------------------------------------------- - // Fix 1: Proper ATX headings #### instead of underline-style + // Proper ATX headings #### instead of underline-style // --------------------------------------------- t.addRule("forceAtxHeadings", { filter: ["h1", "h2", "h3", "h4", "h5", "h6"], @@ -49,7 +49,7 @@ export async function parseMarkdown( }); // --------------------------------------------- - // Fix 2: Inline link with fallback text + // Inline link with fallback text // --------------------------------------------- t.addRule("inlineLink", { filter: (node: any, opts: any) => @@ -74,7 +74,7 @@ export async function parseMarkdown( try { const u = new URL(href, baseUrl); href = u.toString(); - } catch {} + } catch { } } href = cleanUrl(href);