Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
This commit is contained in:
commit
45c4539c61
3 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@ func NewFuncMap() []template.FuncMap {
|
|||
"MD5": base.EncodeMD5,
|
||||
"ActionContent2Commits": ActionContent2Commits,
|
||||
"EscapePound": func(str string) string {
|
||||
return strings.NewReplacer("%", "%25", "#", "%23", " ", "%20").Replace(str)
|
||||
return strings.NewReplacer("%", "%25", "#", "%23", " ", "%20", "?", "%3F").Replace(str)
|
||||
},
|
||||
"RenderCommitMessage": RenderCommitMessage,
|
||||
"ThemeColorMetaTag": func() string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue