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
On README.md you gave some sample code to sanitize color. But when I was testing I found that it fails to sanitize rgb color.
Later I found the pattern is used for sanitizing rgb color is missing closing bracket.
Here is my solution. Please check this and update README.md file.
rgb\(((\d{1,2}|1\d\d|2([0-4]\d|5[0-5]))\s*,\s*){2}((\d{1,2}|1\d\d|2([0-4]\d|5[0-5]))\s*)\)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On README.md you gave some sample code to sanitize color. But when I was testing I found that it fails to sanitize rgb color.
Later I found the pattern is used for sanitizing rgb color is missing closing bracket.
Here is my solution. Please check this and update README.md file.
rgb\(((\d{1,2}|1\d\d|2([0-4]\d|5[0-5]))\s*,\s*){2}((\d{1,2}|1\d\d|2([0-4]\d|5[0-5]))\s*)\)
The text was updated successfully, but these errors were encountered: