fix(webui): refine inline token highlights (#5241)
This commit is contained in:
1 parent
2fe135db3e
commit
287fd88fe4
10 files changed
+31
-36
No files matched your search
@@ -23,6 +23,9 @@ describe("MarkdownTextRenderer", () => {
|
||||
const link = screen.getByRole("link", { name: "收费设计" });
|
||||
expect(link).toHaveAttribute("href", "#/chat/websocket%3Apricing");
|
||||
expect(link).not.toHaveAttribute("target");
|
||||
expect(link.getAttribute("style")).toContain(
|
||||
"text-decoration-color: var(--inline-token-highlight)",
|
||||
);
|
||||
});
|
||||
|
||||
it("does not link non-WebUI session references", () => {
|
||||
|
||||
Reference in new issue
Block a user