ref: c661d9803e861fa46146ad5a6a8d700317bc9499
parent: c689d46aa19f0372d909e87a1ecd187443f2b6c7
parent: 31a1ade1b4eb12003a1ee31a2abf4407cc0c7285
author: Steve Francia <[email protected]>
date: Tue Aug 13 03:44:00 EDT 2013
Merge pull request #31 from cactus/issue-31 sanitizeRegex chopping dots
--- a/hugolib/helpers.go
+++ b/hugolib/helpers.go
@@ -27,7 +27,7 @@
"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.