docx-preview defaults to blob: URLs for embedded images, which DOMPurify strips from img src (blob: isn't in its default allowed-URI list), so figures vanished after sanitize. Switch docx-preview to useBase64URL so images inline as data: URIs, and add ADD_DATA_URI_TAGS: ['img'] to the DOMPurify config so those data: URIs survive sanitization. Script / handler / javascript: stripping is unchanged. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_python_stack.py | ||
| LICENSE.AGPL-3.0 | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||