5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 08:36:22 +00:00

permitir atributos de multimedia

This commit is contained in:
f 2021-02-25 18:01:56 -03:00
parent cb5890e00e
commit 7175af05d7

View file

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