Remove unnecessary Safe tags (#3778)

This commit is contained in:
Bwko 2018-04-10 05:43:37 +02:00 committed by Lauris BH
parent 8ee45eb614
commit 38a9cda4bb
6 changed files with 13 additions and 14 deletions

View file

@ -14,8 +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}}
{{.i18n.Tr "repo.editor.commit_directly_to_this_branch" $branchName | Safe}}
{{.i18n.Tr "repo.editor.commit_directly_to_this_branch" (.BranchName|Escape) | Safe}}
</label>
</div>
</div>