Skip to content

Commit 01432d3

Browse files
committed
Fix issue with broken inter-wiki links #3506
1 parent 04b3e8c commit 01432d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/markup/markup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func RenderUncyclo(filename string, rawBytes []byte, urlPrefix string, metas map[st
6767
}
6868

6969
func render(parser Parser, rawBytes []byte, urlPrefix string, metas map[string]string, isUncyclo bool) []byte {
70-
urlPrefix = strings.Replace(urlPrefix, " ", "+", -1)
70+
urlPrefix = strings.Replace(urlPrefix, " ", "-", -1)
7171
result := parser.Render(rawBytes, urlPrefix, metas, isUncyclo)
7272
result = PostProcess(result, urlPrefix, metas, isUncyclo)
7373
return SanitizeBytes(result)

0 commit comments

Comments
 (0)