fix(matrix): sanitize formatted html with nh3

This commit is contained in:
Alexander Minges
2026-02-10 16:18:47 +01:00
parent 9b14869cb1
commit 6be7368a38
3 changed files with 137 additions and 6 deletions

View File

@@ -43,7 +43,8 @@ dependencies = [
"mcp>=1.26.0,<2.0.0",
"json-repair>=0.57.0,<1.0.0",
"matrix-nio[e2e]>=0.25.2",
"mistune>=3.0.0",
"mistune>=3.0.0,<4.0.0",
"nh3>=0.2.17,<1.0.0",
]
[project.optional-dependencies]