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
const Autolinker = require("autolinker") const autolinker = new Autolinker({ urls: { schemeMatches: true, tldMatches: false, ipV4Matches: false }, newWindow: false, stripPrefix: false, email: false, phone: false, stripTrailingSlash: false }); console.log(autolinker.link("链接:https://www.google.com")); console.log(autolinker.link("link:https://www.google.com")); console.log(autolinker.link("链接: https://www.google.com")); console.log(autolinker.link("链接:https://www.google.com"));
https://runkit.com/embed/xpmv085le79y
The 4th result is wrong
The text was updated successfully, but these errors were encountered:
Similar example here.
console.log(Autolinker.link("こちら→https://google.com")) // result: こちら→https://g<a href="http://oogle.com" target="_blank" rel="noopener noreferrer">oogle.com</a>
Sorry, something went wrong.
This is now fixed in 4.0.1. Thanks for reporting!
No branches or pull requests
https://runkit.com/embed/xpmv085le79y
The 4th result is wrong
The text was updated successfully, but these errors were encountered: