diff options
author | Steve Francia <steve.francia@gmail.com> | 2013-08-13 07:44:00 -0700 |
---|---|---|
committer | Steve Francia <steve.francia@gmail.com> | 2013-08-13 07:44:00 -0700 |
commit | c661d9803e861fa46146ad5a6a8d700317bc9499 (patch) | |
tree | fbe5c47ac97eddf89efb4c2c1d9d9e4a4a52bebf | |
parent | c689d46aa19f0372d909e87a1ecd187443f2b6c7 (diff) | |
parent | 31a1ade1b4eb12003a1ee31a2abf4407cc0c7285 (diff) |
Merge pull request #31 from cactus/issue-31
sanitizeRegex chopping dots
-rw-r--r-- | hugolib/helpers.go | 2 |
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. |