Further sanitize the template title text before making it the window title via JS.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-06-27 23:21:03 -04:00
parent 9dfe187202
commit fb845abf10

View File

@@ -113,6 +113,6 @@
{% block javascript %}{% endblock %}
<script>
document.title = '{% spaceless %}{% block title %}{% endblock %}{% endspaceless %} :: {% block project_name %}{% project_information '__title__' %}{% endblock %}';
document.title = '{% filter escapejs %}{% spaceless %}{% block title %}{% endblock %} :: {% block project_name %}{% project_information '__title__' %}{% endblock %}{% endspaceless %}{% endfilter %}';
afterBaseLoad();
</script>