Merge branch 'Aufinal/fix-stats-escape' into 'master'

Fix la page de stats pour certains comptes avec des caractères spéciaux

See merge request klub-dev-ens/gestioCOF!382
This commit is contained in:
Martin Pepin 2019-12-01 11:22:36 +01:00
commit c6c4814519

View file

@ -11,7 +11,7 @@
{% if account.user == request.user %}
<script type="text/javascript" src="{% static 'kfet/vendor/Chart.min.js' %}"></script>
<script type="text/javascript" src="{% static 'kfet/js/statistic.js' %}"></script>
{% autoescape off %}
<script type="text/javascript">
$(document).ready(function() {
var stat_last = new StatsGroup(
@ -24,6 +24,7 @@ $(document).ready(function() {
);
});
</script>
{% endautoescape %}
{% endif %}
{% endblock %}