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", ''),
|
sanitizer.sanitize(string.tr("\r", ''),
|
||||||
tags: allowed_tags,
|
tags: allowed_tags,
|
||||||
attributes: allowed_attributes,
|
attributes: allowed_attributes).strip.html_safe
|
||||||
scrubber: scrubber).strip.html_safe
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def sanitizer
|
def sanitizer
|
||||||
|
|
Loading…
Reference in a new issue