aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-14 01:44:40 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-14 01:44:40 +0200
commitc6ad5cd42f7c6a81b258ac3f1fc3faf9b07bf8fb (patch)
tree96b0beb7a996337db8f653c21c2791fdd73554de /skate
parentef1f3ce02b8e4973e83cf43dd9eac1256c0107a1 (diff)
downloadrefcat-c6ad5cd42f7c6a81b258ac3f1fc3faf9b07bf8fb.tar.gz
refcat-c6ad5cd42f7c6a81b258ac3f1fc3faf9b07bf8fb.zip
update docs
Diffstat (limited to 'skate')
-rw-r--r--skate/url.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/url.go b/skate/url.go
index d079e8a..e77d331 100644
--- a/skate/url.go
+++ b/skate/url.go
@@ -18,8 +18,8 @@ var (
okSchemas = []string{"http://", "https://", "ftp://"}
)
-// SanitizeURL applies various cleanup rules on URLs (as they are found in
-// references extracted with GROBID). Returns an empty string when no URL
+// SanitizeURL applies various cleanup rules on URLs (as they are found e.g. in
+// references extracted with GROBID). Returns an empty string when no URL
// could be discovered. Still, many results will not be a URL even after
// sanitization.
func SanitizeURL(s string) string {