mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
fix: webchat gfm table rendering and overflow (#32365) (thanks @BlueBirdBack)
This commit is contained in:
@@ -2,11 +2,6 @@ import DOMPurify from "dompurify";
|
||||
import { marked } from "marked";
|
||||
import { truncateText } from "./format.ts";
|
||||
|
||||
marked.setOptions({
|
||||
gfm: true,
|
||||
breaks: true,
|
||||
});
|
||||
|
||||
const allowedTags = [
|
||||
"a",
|
||||
"b",
|
||||
|
||||
Reference in New Issue
Block a user