This commit is contained in:
Albert Yi
2018-06-15 16:12:33 -07:00
parent c89c861326
commit a9c4210bb5

View File

@@ -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.