diff --git a/hshassets/templates/hshassets/includes/session_timer.html b/hshassets/templates/hshassets/includes/session_timer.html
index 0878acbf9f6c89237fcbb2c1682b4b0516c062ca..aa99b9832420d0214a7425e08862e9477ddcfbba 100644
--- a/hshassets/templates/hshassets/includes/session_timer.html
+++ b/hshassets/templates/hshassets/includes/session_timer.html
@@ -34,16 +34,16 @@ Also make sure to include the corresponding javascript in your "base.html":
     <div class="container">
         {% block session-nav-left %}{% endblock session-nav-left %}
         <div class="navbar-item has-text-grey">
-            {% trans "Your session will automatically expire in:" %}
+            <span>{% trans "Your session will automatically expire in:" %}</span>
             <span class="icon is-small has-text-left has-text-right"><i class="fa fa-clock-o"></i></span>
             <span id="session_timer" data-initial-seconds-left="{{ initial_seconds_left|unlocalize }}">00:00</span>
         </div>
         <a href="{% url "flush-session" %}" class="navbar-item">
             <span class="icon is-small has-text-right"><i class="fa {% if end_session_icon %}{{ end_session_icon }}{% else %}fa-sign-out{% endif %}"></i></span>
             {% if end_session_text %}
-            {{ end_session_text }}
+            <span>{{ end_session_text }}</span>
             {% else %}
-            {% trans "End session" %}
+            <span>{% trans "End session" %}</span>
             {% endif %}
         </a>
         {% block session-nav-right %}{% endblock session-nav-right %}