Add another SVG attribute to Sanitize.
Add 'stroke-opacity' to list of allowed SVG attributes.
This commit is contained in:
parent
493803cfd1
commit
6ca6525ff7
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ module Sanitize
|
|||
'stop-color', 'stop-opacity', 'strikethrough-position',
|
||||
'strikethrough-thickness', 'stroke', 'stroke-dasharray',
|
||||
'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin',
|
||||
'stroke-miterlimit', 'stroke-width', 'systemLanguage', 'target',
|
||||
'stroke-miterlimit', 'stroke-opacity', 'stroke-width', 'systemLanguage', 'target',
|
||||
'text-anchor', 'to', 'transform', 'type', 'u1', 'u2',
|
||||
'underline-position', 'underline-thickness', 'unicode',
|
||||
'unicode-range', 'units-per-em', 'values', 'version', 'viewBox',
|
||||
|
|
Loading…
Reference in a new issue