diff options
author | Martin Czygan <martin@archive.org> | 2021-07-26 17:43:04 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2021-07-26 17:43:04 +0000 |
commit | aeaa60211e33cb49da98770b3461cbca2c2a65cc (patch) | |
tree | 1def8dfcd4d2c035a8b5ee6d88507a1ad53a8b40 /skate/cmd/skate-wikipedia-doi | |
parent | befd7895262e2469367e2a4f71f78148b9986dee (diff) | |
parent | 0d4c3ca311b1057bdb07144b0ac8ba860be2de55 (diff) | |
download | refcat-aeaa60211e33cb49da98770b3461cbca2c2a65cc.tar.gz refcat-aeaa60211e33cb49da98770b3461cbca2c2a65cc.zip |
Merge branch 'bnewbold-skate-tweaks' into 'master'
proposed changes and fixes to skate matching
See merge request martin/cgraph!3
Diffstat (limited to 'skate/cmd/skate-wikipedia-doi')
-rw-r--r-- | skate/cmd/skate-wikipedia-doi/main.go | 2 |
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)) ) |