fix(webui): parse CJK emphasis at delimiter boundaries

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-22 01:34:19 +08:00
1 parent d5cf09d738
commit 51a0fc83a2
8 files changed
+244 -56

No files matched your search

+3
View File
@@ -23,6 +23,7 @@ import { NewChatSkeletonFixture } from "./new-chat-skeleton-fixture";
import "../src/globals.css";
import { DiagramFixture } from "./diagram-fixture";
import { TypographyFixture } from "./typography-fixture";
import { MarkdownEmphasisFixture } from "./markdown-emphasis-fixture";
import { HistoryBoundaryFixture } from "./history-boundary-fixture";
import { ChatFailureFixture } from "./chat-failure-fixture";
import { ThreadLoadingFixture } from "./thread-loading-fixture";
@@ -175,6 +176,8 @@ createRoot(document.getElementById("root")!).render(<TooltipProvider>
? <SidebarActivityFixture />
: parameters.get("case") === "chat-failure"
? <ChatFailureFixture parameters={parameters} />
: parameters.get("case") === "markdown-emphasis"
? <MarkdownEmphasisFixture />
: parameters.get("case") === "typography"
? <ClientProvider client={railClient} token="fixture"><TypographyFixture /></ClientProvider>
: parameters.get("case") === "history-hydration"