diff --git a/src/lib/utils/markup/advancedMarkupParser.ts b/src/lib/utils/markup/advancedMarkupParser.ts index 8777390..e05d970 100644 --- a/src/lib/utils/markup/advancedMarkupParser.ts +++ b/src/lib/utils/markup/advancedMarkupParser.ts @@ -233,24 +233,7 @@ function processFootnotes(content: string): string { } } -/** - * Process blockquotes - */ -function processBlockquotes(content: string): string { - // Match blockquotes that might span multiple lines - const blockquoteRegex = /^>[ \t]?(.+(?:\n>[ \t]?.+)*)/gm; - - return content.replace(blockquoteRegex, (match) => { - // Remove the '>' prefix from each line and preserve line breaks - const text = match - .split("\n") - .map((line) => line.replace(/^>[ \t]?/, "")) - .join("\n") - .trim(); - - return `
${text}`; - }); -} + /** * Process code blocks by finding consecutive code lines and preserving their content @@ -689,6 +672,8 @@ function isLaTeXContent(content: string): boolean { return latexPatterns.some((pattern) => pattern.test(trimmed)); } + + /** * Parse markup text with advanced formatting */ @@ -706,9 +691,10 @@ export async function parseAdvancedmarkup(text: string): Promise