forked from e621ng/e621ng
[Tags] Certain franchises rule the world - Allow é in tag names
This commit is contained in:
parent
8877fcf7f5
commit
0758c08a66
@ -38,7 +38,7 @@ class TagNameValidator < ActiveModel::EachValidator
|
||||
record.errors.add(attribute, "'#{value}' cannot begin with '#{$1}:'")
|
||||
end
|
||||
|
||||
if normalized =~ /[^[:ascii:]]/ && !options[:disable_ascii_check] == true
|
||||
if normalized =~ /[^[:ascii:]é]/ && !options[:disable_ascii_check] == true
|
||||
record.errors.add(attribute, "'#{value}' must consist of only ASCII characters")
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user