mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
📎 Fix review issues
This commit is contained in:
parent
7a38b08506
commit
4adc5d25a7
2 changed files with 5 additions and 1 deletions
|
@ -330,6 +330,10 @@
|
|||
(p/let [xmldata (extract-svg page object)
|
||||
txtdata (extract-txt-nodes page object)
|
||||
result (replace-text-nodes xmldata txtdata)
|
||||
|
||||
;; SVG standard don't allow the entity
|
||||
;; nbsp.   is equivalent but compatible
|
||||
;; with SVG.
|
||||
result (str/replace result " " " ")]
|
||||
|
||||
;; (println "------- ORIGIN:")
|
||||
|
|
|
@ -467,7 +467,7 @@
|
|||
(let [link (create-element "a")
|
||||
extension (mtype->extension mtype)
|
||||
filename (if (and extension (not (str/ends-with? filename extension)))
|
||||
(str/concat filename "." extension)
|
||||
(str/concat filename extension)
|
||||
filename)]
|
||||
(obj/set! link "href" uri)
|
||||
(obj/set! link "download" filename)
|
||||
|
|
Loading…
Reference in a new issue