From 93fcc862e5dc474b1adebe4db79ca2c2df712a20 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 e4bc1c3e4..92240ff53 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)