Closed aried3r closed 4 years ago
Good catch. I'd agree that the existing behavior is a problem and your desired test is the correct behavior. I'll try to fix this shortly.
@aried3r Thank you for this. v1.9.1 is now released with this fix. https://rubygems.org/gems/strip_attributes
This is more a question instead of a PR. While using this gem in our codebase we discovered that while strings like
"\n\t\ "
result innil
,"\u200B"
results in the empty string. Is this intended behavior?You can see the failing test in this PR.