From a6f337046f0dde4cbf5df1cc83a9e0e79a4db8aa Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Wed, 15 Nov 2017 05:34:42 +0200 Subject: Update go-ini dependency and remove semicolon hack in translations (#2913) --- modules/templates/helper.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules') diff --git a/modules/templates/helper.go b/modules/templates/helper.go index ae2efc2585..454bd648a3 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -160,10 +160,6 @@ func NewFuncMap() []template.FuncMap { return setting.DisableGitHooks }, "TrN": TrN, - // TODO: Remove this once go-ini parser supports unescaping comment characters - "UnescapeLocale": func(str string) string { - return strings.NewReplacer("\\;", ";", "\\#", "#").Replace(str) - }, }} } -- cgit v1.2.3