From 0d4c3ca311b1057bdb07144b0ac8ba860be2de55 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 25 Jul 2021 16:36:52 -0700 Subject: skate: use SanitizeDOI in all inputs --- skate/cmd/skate-wikipedia-doi/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'skate/cmd/skate-wikipedia-doi') diff --git a/skate/cmd/skate-wikipedia-doi/main.go b/skate/cmd/skate-wikipedia-doi/main.go index a6d82c0..3f7afde 100644 --- a/skate/cmd/skate-wikipedia-doi/main.go +++ b/skate/cmd/skate-wikipedia-doi/main.go @@ -39,7 +39,7 @@ func main() { return nil, nil } var ( - doi = wsReplacer.Replace(match[0]) + doi = skate.SanitizeDOI(wsReplacer.Replace(match[0])) pageTitle = strings.TrimSpace(w.PageTitle) s = fmt.Sprintf("%s\t%s\t%s", doi, pageTitle, string(p)) ) -- cgit v1.2.3