gkucmierz / social-links

Validate & sanitize social links
https://npmjs.com/package/social-links
MIT License
28 stars 14 forks source link

Add LinkedIn pattern & allow percent encoded characters in profile id #52

Open JoeKarow opened 8 months ago

JoeKarow commented 8 months ago

Added regex for the linkedin.com/company/XXXXXXX

Updated PROFILE_ID regex to allow percent encoded characters from the url. (Example URL: https://www.linkedin.com/company/brigham-and-women%27s-hospital/)