Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed validation failing when there was a whitespace between the currency symbol and amount in a String price. #167
The current validator was failing when we tried to use values like those:
product.price = "$ 123,456.89"
The problem was that abs_raw_value wasn't striping whitespaces after removing the currency symbol.
PS. That's like my first time sending a pull request, so I'm not sure if I did everything right.