mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:37:37 +08:00
FIX: add support for style element in SVGs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user