5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:06:21 +00:00

permitir atributos de cuidados en links sutty/editor#32

This commit is contained in:
f 2022-10-22 12:15:06 -03:00
parent bed39ab4cf
commit 87f638355d

View file

@ -195,7 +195,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].freeze
name rel target referrerpolicy].freeze
end
def allowed_tags