diff options
Diffstat (limited to 'util.go')
-rw-r--r-- | util.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ func safeStringForId(in string) string { id2 += "__" } else if c == ':' { id2 += "_" - } else if unicode.IsDigit(c) || unicode.IsLetter(c) { + } else if unicode.IsDigit(c) || unicode.IsLetter(c) || c == '.' || c == '-' || c == '_' { id2 += string(c) } } |