diff --git a/templates/repo/unicode_escape_prompt.tmpl b/templates/repo/unicode_escape_prompt.tmpl index d45df012e1593..855d7866a3597 100644 --- a/templates/repo/unicode_escape_prompt.tmpl +++ b/templates/repo/unicode_escape_prompt.tmpl @@ -1,17 +1,19 @@ -{{if .EscapeStatus.BadBIDI}} -
-{{else if .EscapeStatus.Escaped}} - - +{{if .EscapeStatus}} + {{if .EscapeStatus.BadBIDI}} + - + {{else if .EscapeStatus.Escaped}} + + + {{end}} {{end}} +