Fix HTML mark up in window title. GitLab issue #397.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2.5.3 (2017-07-XX)
|
||||
==================
|
||||
- Fix HTML mark up in window title. GitLab issue #397.
|
||||
|
||||
2.5.2 (2017-07-08)
|
||||
==================
|
||||
- Improve new document creation signal handling.
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
{% smart_setting 'APPEARANCE_MAXIMUM_TITLE_LENGTH' as maximum_title_length %}
|
||||
|
||||
{# Avoid horizontal scroll on small displays #}
|
||||
<span style="word-break: break-all;">
|
||||
{% if not html_title %}
|
||||
<span style="word-break: break-all;">
|
||||
{% endif %}
|
||||
|
||||
{% if title %}
|
||||
{{ title|truncatechars:maximum_title_length }}
|
||||
{% else %}
|
||||
@@ -19,4 +22,7 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% if not html_title %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{% load common_tags %}
|
||||
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h3>{% include 'appearance/calculate_form_title.html' %}</h3>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{% load navigation_tags %}
|
||||
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if title %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{% load common_tags %}
|
||||
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if main_title %}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
|
||||
<h4>
|
||||
{% include 'appearance/calculate_form_title.html' %}
|
||||
</h4>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h3>{% include 'appearance/calculate_form_title.html' %}</h3>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
{% load navigation_tags %}
|
||||
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' %}{% endblock %}
|
||||
{% block title %}{% include 'appearance/calculate_form_title.html' with html_title=True %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if title %}
|
||||
|
||||
Reference in New Issue
Block a user