mirror of
https://github.com/penpot/penpot.git
synced 2025-07-22 10:07:14 +02:00
🐛 Fix problem uploading svg with style tag
This commit is contained in:
parent
2c1fb1424c
commit
c42ef7c5b0
4 changed files with 13 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
|||
(defonce matrices-regex #"(matrix|translate|scale|rotate|skewX|skewY)\(([^\)]*)\)")
|
||||
(defonce number-regex #"[+-]?\d*(\.\d+)?(e[+-]?\d+)?")
|
||||
|
||||
(defonce tags-to-remove #{:defs :linearGradient :radialGradient :metadata :mask :clipPath :filter :title})
|
||||
(defonce tags-to-remove #{:linearGradient :radialGradient :metadata :mask :clipPath :filter :title})
|
||||
|
||||
;; https://www.w3.org/TR/SVG11/eltindex.html
|
||||
(defonce svg-tags-list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue