mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 08:16:13 +02:00
Merge remote-tracking branch 'origin/main' into develop
This commit is contained in:
commit
979f61df99
6 changed files with 55 additions and 2 deletions
|
@ -43,6 +43,8 @@
|
|||
svg-node (.createElementNS js/document "http://www.w3.org/2000/svg" "svg")
|
||||
_ (.setAttribute svg-node "version" "1.1")
|
||||
_ (.setAttribute svg-node "viewBox" (str (:x shape) " " (:y shape) " " (:width shape) " " (:height shape)))
|
||||
_ (.setAttribute svg-node "width" (:width shape))
|
||||
_ (.setAttribute svg-node "height" (:height shape))
|
||||
_ (unchecked-set svg-node "innerHTML" frame-html)
|
||||
xml (-> (js/XMLSerializer.)
|
||||
(.serializeToString svg-node)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue