mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 16:36:23 +00:00
fix: no eliminar atributo role
se usan para la accesibilidad de las notas al pie
This commit is contained in:
parent
7407e1c06d
commit
e55e981305
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue