Fix #4075: Add non-web_source to default tags removed by replacement.

This commit is contained in:
evazion
2019-07-31 19:22:14 -05:00
parent 504f785edc
commit 92504cb8f3

View File

@@ -546,7 +546,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 =~ /\A(?:replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image|source_request)\z/i
tag =~ /\A(?:replaceme|.*_sample|resized|upscaled|downscaled|md5_mismatch|jpeg_artifacts|corrupted_image|source_request|non-web_source)\z/i
end
# Posts with these tags will be highlighted yellow in the modqueue.