projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13afc4
)
move "dot" in regex to avoid it being part of a range
author
elij
<elij@wundrd.net>
Tue, 13 Aug 2013 02:55:52 +0000
(19:55 -0700)
committer
elij
<elij@wundrd.net>
Tue, 13 Aug 2013 02:55:52 +0000
(19:55 -0700)
hugolib/helpers.go
patch
|
blob
|
history
diff --git
a/hugolib/helpers.go
b/hugolib/helpers.go
index 80f92c875e20a47513de40623d25a0e1d827dd0e..c814a62897c89a7d62bfe5870c3110180c820b86 100644
(file)
--- a/
hugolib/helpers.go
+++ b/
hugolib/helpers.go
@@
-27,7
+27,7
@@
import (
"time"
)
-var sanitizeRegexp = regexp.MustCompile("[^a-zA-Z0-9
/_-.
]")
+var sanitizeRegexp = regexp.MustCompile("[^a-zA-Z0-9
./_-
]")
// TODO: Make these wrappers private
// Wrapper around Fprintf taking verbose flag in account.