1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Merge pull request #31 from cactus/issue-31

sanitizeRegex chopping dots
This commit is contained in:
Steve Francia
2013-08-13 07:44:00 -07:00

View File

@ -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.