+
+
+
+ {file.filename}
+
+
+
+
+ {typeLabel}
+
+ {file.size}
+
+
+ );
+}
+
/**
* Citations list component that displays all sources at the top
*/
diff --git a/frontend/src/core/citations/utils.ts b/frontend/src/core/citations/utils.ts
index 1669e82..f83feba 100644
--- a/frontend/src/core/citations/utils.ts
+++ b/frontend/src/core/citations/utils.ts
@@ -33,41 +33,42 @@ export function parseCitations(content: string): ParseCitationsResult {
return { citations: [], cleanContent: content };
}
- // Match the citations block at the start of content (with possible leading whitespace)
- const citationsRegex = /^\s*