5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 07:24:17 +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
@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
def allowed_tags