From 7ef5032e27bcea4c319c49fa820cac9cedbe809a Mon Sep 17 00:00:00 2001 From: uli-heller Date: Thu, 13 Jan 2022 11:21:40 +0000 Subject: [PATCH] Closes #3886 - Maintenance: Fix comment typos in html sanitizer. --- lib/html_sanitizer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/html_sanitizer.rb b/lib/html_sanitizer.rb index 2ca0819b9..d7226119e 100644 --- a/lib/html_sanitizer.rb +++ b/lib/html_sanitizer.rb @@ -7,7 +7,7 @@ class HtmlSanitizer =begin -satinize html string based on whiltelist +sanitize html string based on whiltelist string = HtmlSanitizer.strict(string, external) @@ -409,7 +409,7 @@ cleanup html string: =begin -reolace inline images with cid images +replace inline images with cid images string = HtmlSanitizer.replace_inline_images(article.body) @@ -450,7 +450,7 @@ reolace inline images with cid images =begin -satinize style of img tags +sanitize style of img tags string = HtmlSanitizer.dynamic_image_size(article.body)