Revert " Add support for svg optimizations on exporter output"

This reverts commit 9fc771292a.
This commit is contained in:
Andrey Antukh 2023-09-15 12:19:17 +02:00
parent 8bd92aad82
commit 9d090ad3d9
5 changed files with 33 additions and 59 deletions

View file

@ -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))