cherry-studio/src
George·Dong 4dad2a593b
fix(export): robustly export reasoning and handle errors (#9221)
* fix(export): robustly export reasoning and handle errors

* fix(export): normalize <br> to newline before notion parsing

* feat(i18n): add notion truncation and unify export warn keys

* refactor(export): add typing, state guards, and error logging

* fix(export): preserve existing <br> in reasoning when convert to html

* feat(export): add DOMPurify sanitization for reasoning content

* chore(deps): remove unused @types/dompurify dev dep

* chore(deps): remove dompurify dependency

Remove dompurify from package.json and yarn. The changes
delete dompurify entries and simplify the lockfile resolution so the
project no longer declares dompurify as a direct dependency.

This cleans up unused dependency declarations and prevents installing
dompurify when it is not required.
2025-08-17 00:41:48 +08:00
..
main refactor: replace axios and node fetch with electron's net module (#9212) 2025-08-15 22:48:22 +08:00
preload feat: add code tools (#9043) 2025-08-12 11:54:38 +08:00
renderer fix(export): robustly export reasoning and handle errors (#9221) 2025-08-17 00:41:48 +08:00