We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi
\u2002 utf8 character doesn't seems to be stripped out.
The [[:space:]] special regex expression does detect it, but the gem doesn't remove it.
To reproduce:
class Person < ApplicationRecord auto_strip_attributes :name end person.name = "John\u2002" person.save => true person.name => "John " # Tested with GSUB and [[:space:]] person.name.gsub(/[[:space:]]/, '') => "John"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi
\u2002 utf8 character doesn't seems to be stripped out.
The [[:space:]] special regex expression does detect it, but the gem doesn't remove it.
To reproduce:
The text was updated successfully, but these errors were encountered: