aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-wikipedia-doi
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd/skate-wikipedia-doi')
-rw-r--r--skate/cmd/skate-wikipedia-doi/main.go2
1 files changed, 1 insertions, 1 deletions
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))
)