deerflow2/web/src
Willem Jiang e27569e824 fix: unescape markdown-escaped characters in math formulas to fix #608 (#637)
When editing reports, tiptap-markdown escapes special characters (*, _, [, ])
which corrupts LaTeX formulas. This fix:

1. Adds unescapeLatexInMath() function to reverse markdown escaping within
   math delimiters ($...$ and 94410...94410)
2. Applies the unescape function in the editor's onChange callback to clean
   the markdown before storing it
3. Adds comprehensive tests covering edge cases and round-trip scenarios

The fix ensures formulas like $(f * g)[n]$ remain unescaped when editing,
preventing display errors after save/reload.
2025-10-21 10:06:31 +08:00
..
app fix: handle non-string tool results to fix #631 (#633) 2025-10-20 23:10:58 +08:00
components fix: unescape markdown-escaped characters in math formulas to fix #608 (#637) 2025-10-21 10:06:31 +08:00
core fix: unescape markdown-escaped characters in math formulas to fix #608 (#637) 2025-10-21 10:06:31 +08:00
hooks feat(visualization): add workflow run animation logic 2025-04-29 16:46:50 +08:00
lib chore: add license header for web 2025-04-17 14:26:41 +08:00
styles FIX/Adapt message box to handle long text in frontend (#466) 2025-08-21 10:31:54 +08:00
typings chore: support raw-loader 2025-04-22 13:52:56 +08:00
env.js feat: show repo star on site-header (#27) 2025-05-12 14:36:50 +08:00
i18n.ts feat: add i18n support and add Chinese (#372) 2025-07-12 15:18:28 +08:00