mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
- Removed rehype-sanitize dependency and its related configuration. - Introduced ALLOWED_ELEMENTS and DISALLOWED_ELEMENTS for custom HTML element filtering. - Updated rehypePlugins logic to conditionally apply plugins based on message content. - Added encodeHTML utility function for HTML entity encoding. |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||