mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ Add slugify to the filename on assets exportation
Fixes https://github.com/penpot/penpot/issues/8017
This commit is contained in:
parent
e03ad25118
commit
33e650242c
@ -32,6 +32,7 @@
|
|||||||
- Fix unhandled exception tokens creation dialog [Github #8110](https://github.com/penpot/penpot/issues/8110)
|
- Fix unhandled exception tokens creation dialog [Github #8110](https://github.com/penpot/penpot/issues/8110)
|
||||||
- Fix allow negative spread values on shadow token creation [Taiga #13167](https://tree.taiga.io/project/penpot/issue/13167)
|
- Fix allow negative spread values on shadow token creation [Taiga #13167](https://tree.taiga.io/project/penpot/issue/13167)
|
||||||
- Fix spanish translations on import export token modal [Taiga #13171](https://tree.taiga.io/project/penpot/issue/13171)
|
- Fix spanish translations on import export token modal [Taiga #13171](https://tree.taiga.io/project/penpot/issue/13171)
|
||||||
|
- Remove whitespaces from asset export filename [Github #8133](https://github.com/penpot/penpot/pull/8133)
|
||||||
|
|
||||||
## 2.12.1
|
## 2.12.1
|
||||||
|
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
{:path path
|
{:path path
|
||||||
:mtype (mime/get type)
|
:mtype (mime/get type)
|
||||||
:name name
|
:name name
|
||||||
:filename (str/concat name (mime/get-extension type))
|
:filename (str/concat (str/slug name) (mime/get-extension type))
|
||||||
:id task-id}))
|
:id task-id}))
|
||||||
|
|
||||||
(defn create-zip
|
(defn create-zip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user