Skip to content

Commit

Permalink
fix: minor adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
benjivesterby committed Nov 1, 2023
1 parent 8e2384e commit 192bb9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func urls(data string) []*url.URL {

for _, u := range allU {
u = strings.TrimSuffix(u, ">")
u = strings.TrimSuffix(u, ")")
u = strings.TrimSuffix(u, "\"")

if dedup[u] {
Expand Down

0 comments on commit 192bb9a

Please sign in to comment.