mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
* feat: add xmlsvg export option * fix: avoid atob for xmlsvg export to prevent UTF-8 corruption Pass the data URL directly (like PNG export) instead of decoding with atob(). atob() + Blob([string]) double-encodes non-ASCII characters (Chinese, Japanese, emoji), corrupting the output file. --------- Co-authored-by: dayuan.jiang <jdy.toh@gmail.com>
5.0 KiB
5.0 KiB