FIX: add support for style element in SVGs

This commit is contained in:
Régis Hanol
2019-02-07 12:09:06 +01:00
parent 0c14f0d0a0
commit c256121833
3 changed files with 15 additions and 2 deletions

View File

@ -9,7 +9,7 @@ class UploadCreator
WHITELISTED_SVG_ELEMENTS ||= %w{
circle clippath defs ellipse g line linearGradient path polygon polyline
radialGradient rect stop svg text textpath tref tspan use
radialGradient rect stop style svg text textpath tref tspan use
}.each(&:freeze)
# Available options