Skip to content

Commit 9cf5c09

Browse files
Hotfix sanitize (#334)
* Add rehype-sanitize * Version bump
1 parent 48c9c51 commit 9cf5c09

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

packages/streamdown/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# streamdown
22

3+
## 1.6.11
4+
5+
### Patch Changes
6+
7+
- 0b7fe77: Add rehype sanitize
8+
39
## 1.6.10
410

511
### Patch Changes

packages/streamdown/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const defaultRehypePlugins: Record<string, Pluggable> = {
9090
raw: rehypeRaw,
9191
sanitize: [rehypeSanitize, {}],
9292
katex: [rehypeKatex, { errorColor: "var(--color-muted-foreground)" }],
93+
sanitize: [rehypeSanitize, {}],
9394
harden: [
9495
harden,
9596
{

packages/streamdown/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "streamdown",
3-
"version": "1.6.10",
3+
"version": "1.6.11",
44
"type": "module",
55
"main": "./dist/index.js",
66
"module": "./dist/index.js",

pnpm-lock.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)