chore(addLinkToShare.js): add author url in search results when adding link

This commit is contained in:
Cory Dransfeldt 2025-06-09 15:31:46 -07:00
parent c54d27dc33
commit f2bca309f5
No known key found for this signature in database
4 changed files with 15 additions and 7 deletions

View file

@ -7,3 +7,5 @@ export const sanitizeMediaString = (input) => {
return slugified.replace(/^-+|-+$/g, '');
}
export const removeUrlProtocol = (url) => url ? url.replace(/^https?:\/\//, '') : '';