Add another SVG attribute to Sanitize.

Add 'stroke-opacity' to list of allowed SVG attributes.
This commit is contained in:
Jacques Distler 2007-04-20 16:09:55 -05:00
parent 493803cfd1
commit 6ca6525ff7

View file

@ -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',