mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-20 05:23:37 +00:00
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,
|
sanitizer.sanitize(string,
|
||||||
tags: allowed_tags,
|
tags: allowed_tags,
|
||||||
attributes: allowed_attributes,
|
attributes: allowed_attributes + %w[data-trix-attachment],
|
||||||
scrubber: scrubber).strip.html_safe
|
scrubber: scrubber).strip.html_safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue