[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-bank] branch master updated: avoid HTML escaping at language swit

From: gnunet
Subject: [taler-bank] branch master updated: avoid HTML escaping at language switcher
Date: Mon, 26 Apr 2021 10:45:34 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 0499f16  avoid HTML escaping at language switcher
0499f16 is described below

commit 0499f16a21c26e8527f24bf4d4ecc3a24f92278a
Author: MS <>
AuthorDate: Mon Apr 26 10:45:27 2021 +0200

    avoid HTML escaping at language switcher
 talerbank/app/templates/common_base.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/app/templates/common_base.html 
index 9ff90e7..731e2b1 100644
--- a/talerbank/app/templates/common_base.html
+++ b/talerbank/app/templates/common_base.html
@@ -57,13 +57,13 @@
     {# Language Selector #}
     <div class="right">
-      <span>{{ all_languages[getlang()] | default("en") }}</span>
+      <span>{{ all_languages[getlang()] | default("en") | safe }}</span>
       <div style="position: relative; overflow: visible;">
       <div class="nav" style="position: absolute; background: #1e2739; 
max-height: 20em; overflow-y: scroll">
         {% for lang_code, lang_display in all_languages.items() %}
           {% if lang_code != getlang() %}
-          <a href="/{{ lang_code }}/" class="navbtn">{{ lang_display }}</a>
+          <a href="/{{ lang_code }}/" class="navbtn">{{ lang_display | safe 
           {% endif %}
         {% endfor %}   

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]