summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Francia <steve.francia@gmail.com>2013-08-13 07:44:00 -0700
committerSteve Francia <steve.francia@gmail.com>2013-08-13 07:44:00 -0700
commitc661d9803e861fa46146ad5a6a8d700317bc9499 (patch)
treefbe5c47ac97eddf89efb4c2c1d9d9e4a4a52bebf
parentc689d46aa19f0372d909e87a1ecd187443f2b6c7 (diff)
parent31a1ade1b4eb12003a1ee31a2abf4407cc0c7285 (diff)
Merge pull request #31 from cactus/issue-31
sanitizeRegex chopping dots
-rw-r--r--hugolib/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/helpers.go b/hugolib/helpers.go
index b2eb39673..c814a6289 100644
--- 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.