diff options
author | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-12-10 22:23:56 -0500 |
commit | db3f0048d80f4f7aaa903d367ace67b8cd0389dc (patch) | |
tree | 5392ed0c81240398a516f1868469ea4f18aa6e98 /templates/repo/editor/commit_form.tmpl | |
parent | d3d828498599763c6a6364e112fe3b96de737377 (diff) |
templates: rename template function Str2html -> Str2HTML
Diffstat (limited to 'templates/repo/editor/commit_form.tmpl')
-rw-r--r-- | templates/repo/editor/commit_form.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl index 6ee6300f..0b720212 100644 --- a/templates/repo/editor/commit_form.tmpl +++ b/templates/repo/editor/commit_form.tmpl @@ -14,7 +14,7 @@ <input type="radio" class="js-quick-pull-choice-option" name="commit_choice" value="direct" {{if eq .commit_choice "direct"}}checked{{end}}> <label> <i class="octicon octicon-git-commit" height="16" width="14"></i> - {{$branchName := .BranchName | Str2html}} + {{$branchName := .BranchName | Str2HTML}} {{.i18n.Tr "repo.editor.commit_directly_to_this_branch" $branchName | Safe}} </label> </div> |