Skip to content

Commit 8880600

Browse files
BLumiazeripath
andauthored
Don't replace space to dash for unescaped wiki filename
Co-authored-by: zeripath <[email protected]>
1 parent b37a913 commit 8880600

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

services/wiki/wiki.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func NormalizeUncycloName(name string) string {
4545

4646
// NameToUnescapedFilename converts a wiki name to its corresponding filename without url query escape.
4747
func NameToUnescapedFilename(name string) string {
48-
name = strings.ReplaceAll(name, " ", "-")
4948
return name + ".md"
5049
}
5150

0 commit comments

Comments
 (0)