5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 20:16:21 +00:00

fix: no eliminar atributo role

se usan para la accesibilidad de las notas al pie
This commit is contained in:
f 2023-01-05 13:33:17 -03:00
parent 7407e1c06d
commit e55e981305

View file

@ -198,7 +198,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
def allowed_attributes def allowed_attributes
@allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id @allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id
name rel target referrerpolicy class colspan rowspan].freeze name rel target referrerpolicy class colspan rowspan role].freeze
end end
def allowed_tags def allowed_tags