Merge pull request #3326 from AlbinAxtelius/master

Fixed regex in slugify method.
main
Elbert Alias 4 years ago committed by GitHub
commit aacb15ac65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ const Wappalyzer = {
.toLowerCase() .toLowerCase()
.replace(/[^a-z0-9-]/g, '-') .replace(/[^a-z0-9-]/g, '-')
.replace(/--+/g, '-') .replace(/--+/g, '-')
.replace(/(?:^-|-$)/, '') .replace(/(?:^-|-$)/g, '')
}, },
getTechnology(name) { getTechnology(name) {

Loading…
Cancel
Save