Sanitize Tweak

Add 'cite' to the list of attributes whose values are URI's.
This commit is contained in:
Jacques Distler 2007-04-28 02:09:21 -05:00
parent 9b55a75570
commit b0e063451f

View file

@ -83,7 +83,7 @@ module Sanitize
'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang',
'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',
'border-bottom-color', 'border-collapse', 'border-color',