mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:21:42 +00:00
sin scrubber
This commit is contained in:
parent
8d5e1e860d
commit
a5541c6628
1 changed files with 1 additions and 2 deletions
|
@ -121,8 +121,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
|||
|
||||
sanitizer.sanitize(string.tr("\r", ''),
|
||||
tags: allowed_tags,
|
||||
attributes: allowed_attributes,
|
||||
scrubber: scrubber).strip.html_safe
|
||||
attributes: allowed_attributes).strip.html_safe
|
||||
end
|
||||
|
||||
def sanitizer
|
||||
|
|
Loading…
Reference in a new issue