permitir metadatos de trix
This commit is contained in:
parent
9dba6a2bad
commit
0fcf6be591
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
|||
|
||||
sanitizer.sanitize(string,
|
||||
tags: allowed_tags,
|
||||
attributes: allowed_attributes,
|
||||
attributes: allowed_attributes + %w[data-trix-attachment],
|
||||
scrubber: scrubber).strip.html_safe
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue