From e55e9813056bde43a3e3604fed7a4828c109ccf9 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 5 Jan 2023 13:33:17 -0300 Subject: [PATCH] fix: no eliminar atributo role se usan para la accesibilidad de las notas al pie --- app/models/metadata_template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/metadata_template.rb b/app/models/metadata_template.rb index 709c87c3..b92f172a 100644 --- a/app/models/metadata_template.rb +++ b/app/models/metadata_template.rb @@ -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