From 1cfd23004f26ec001392b399f79537ca845c8f5f Mon Sep 17 00:00:00 2001 From: "Thomas M. Edwards" Date: Fri, 28 Feb 2020 08:06:52 -0600 Subject: [PATCH] =?UTF-8?q?[Update]=20Revert=20hyphen=E2=86=92underscore?= =?UTF-8?q?=20slug=20change.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.go b/util.go index 4bf56a5..674043d 100644 --- a/util.go +++ b/util.go @@ -96,7 +96,7 @@ func slugify(original string) string { // delete, C1 controls. illegalRe := regexp.MustCompile(`[\x00-\x20!-/:-@[-^\x60{-\x9f]+`) - return illegalRe.ReplaceAllLiteralString(original, "_") + return illegalRe.ReplaceAllLiteralString(original, "-") } func stringSliceContains(haystack []string, needle string) bool {