Commit a9c4210b authored by Albert Yi's avatar Albert Yi

fixes #3739

parent c89c8613
......@@ -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
# Posts with these tags will be highlighted yellow in the modqueue.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment