mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
Revert "✨ Add support for svg optimizations on exporter output"
This reverts commit 9fc771292a
.
This commit is contained in:
parent
8bd92aad82
commit
9d090ad3d9
5 changed files with 33 additions and 59 deletions
|
@ -10,7 +10,6 @@
|
|||
[app.browser :as bw]
|
||||
[app.common.data :as d]
|
||||
[app.common.logging :as l]
|
||||
[app.common.svg :as svg]
|
||||
[app.common.uri :as u]
|
||||
[app.config :as cf]
|
||||
[app.util.mime :as mime]
|
||||
|
@ -317,11 +316,7 @@
|
|||
;; SVG standard don't allow the entity
|
||||
;; nbsp.   is equivalent but compatible
|
||||
;; with SVG.
|
||||
result (str/replace result " " " ")
|
||||
|
||||
result (if (contains? cf/flags :exporter-svgo)
|
||||
(svg/optimize result)
|
||||
result)]
|
||||
result (str/replace result " " " ")]
|
||||
|
||||
;; (println "------- ORIGIN:")
|
||||
;; (cljs.pprint/pprint (xml->clj xmldata))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue