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
x.com links are considered as invalid as they do not pass the regex used for link validation
https://github.com/ashwamegh/react-link-preview/blob/master/src/components/LinkPreview.js#L16-L21
The validation considers a link is valid if there are 2 - 256 characters. This should be changed to allow 1 character as well
The text was updated successfully, but these errors were encountered:
@ashwamegh I created a PR to address this, want to know your thoughts as to why this was kept as a 2 -256 character validation initially.
Sorry, something went wrong.
Hey @cmdrGuyson I have merged it, Thanks for identifying & fixing it!
No branches or pull requests
x.com links are considered as invalid as they do not pass the regex used for link validation
https://github.com/ashwamegh/react-link-preview/blob/master/src/components/LinkPreview.js#L16-L21
The validation considers a link is valid if there are 2 - 256 characters. This should be changed to allow 1 character as well
The text was updated successfully, but these errors were encountered: