aboutsummaryrefslogtreecommitdiff
path: root/templates/repo/editor/commit_form.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/editor/commit_form.tmpl')
-rw-r--r--templates/repo/editor/commit_form.tmpl2
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>