From ff358c3456435998e14f7337f4542deeaeb59bad Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Thu, 15 Jan 2026 18:22:43 +0800 Subject: feat: Enhance text formatting in HomeView by adding support for italicized text using single asterisks --- ui/src/components/HomeView.svelte | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/src/components') diff --git a/ui/src/components/HomeView.svelte b/ui/src/components/HomeView.svelte index 7bb7e44..5119d00 100644 --- a/ui/src/components/HomeView.svelte +++ b/ui/src/components/HomeView.svelte @@ -65,6 +65,7 @@ // Formatting helper const formatLine = (text: string) => text .replace(/\*\*(.*?)\*\*/g, '$1') + .replace(/(?$1') .replace(/`([^`]+)`/g, '$1') .replace(/\[(.*?)\]\((.*?)\)/g, '$1'); -- cgit v1.2.3-70-g09d2