mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 04:36:21 +00:00
permitir atributos de cuidados en links sutty/editor#32
This commit is contained in:
parent
bed39ab4cf
commit
87f638355d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
||||||
|
|
||||||
def allowed_attributes
|
def allowed_attributes
|
||||||
@allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id
|
@allowed_attributes ||= %w[style href src alt controls data-align data-multimedia data-multimedia-inner id
|
||||||
name].freeze
|
name rel target referrerpolicy].freeze
|
||||||
end
|
end
|
||||||
|
|
||||||
def allowed_tags
|
def allowed_tags
|
||||||
|
|
Loading…
Reference in a new issue