Sanitize Tweak
Add 'cite' to the list of attributes whose values are URI's.
This commit is contained in:
parent
9b55a75570
commit
b0e063451f
|
@ -83,7 +83,7 @@ module Sanitize
|
||||||
'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang',
|
'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang',
|
||||||
'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1', 'y2', 'zoomAndPan']
|
'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1', 'y2', 'zoomAndPan']
|
||||||
|
|
||||||
attr_val_is_uri = ['href', 'src', 'action', 'longdesc', 'xlink:href']
|
attr_val_is_uri = ['href', 'src', 'cite', 'action', 'longdesc', 'xlink:href']
|
||||||
|
|
||||||
acceptable_css_properties = ['azimuth', 'background-color',
|
acceptable_css_properties = ['azimuth', 'background-color',
|
||||||
'border-bottom-color', 'border-collapse', 'border-color',
|
'border-bottom-color', 'border-collapse', 'border-color',
|
||||||
|
|
Loading…
Reference in a new issue