From a9c4210bb57ff670fd6dbcd12cdff80aecd0fb94 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Fri, 15 Jun 2018 16:12:33 -0700 Subject: [PATCH] fixes #3739 --- config/danbooru_default_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 34f805ba1..cd0abb994 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -541,7 +541,7 @@ module Danbooru # Should return true if the given tag should be suggested for removal in the post replacement dialog box. def remove_tag_after_replacement?(tag) - tag =~ /replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image/i + tag =~ /\A(?:replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image)\Z/i end # Posts with these tags will be highlighted yellow in the modqueue.