Skip to content

Commit 0805de5

Browse files
committed
improve (plugins): add credits in url.plugin
1 parent 324eba4 commit 0805de5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/available/url.plugin.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ function slugify() {
1717
fi
1818

1919
# Pass 1 - Clean the url
20+
# Credits: https://stackoverflow.com/a/20007549/10362396
2021
SLUG=$(echo -n "$TXT" | tr -cd ' [:alnum:]._-' | tr -s ' ')
2122

2223
# Pass 2 - Transformation

0 commit comments

Comments
 (0)