diff options
Diffstat (limited to 'app/templates/demo/evaluate.html')
| -rw-r--r-- | app/templates/demo/evaluate.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/templates/demo/evaluate.html b/app/templates/demo/evaluate.html index 7f63033..225dade 100644 --- a/app/templates/demo/evaluate.html +++ b/app/templates/demo/evaluate.html @@ -36,15 +36,15 @@ <script src="{{ url_for('static', filename='js/makeChart.js') }}"></script> <script>viewAnnotations( "#graph_user", - {{ data.chart_data | safe }}, - {{ annotations_user | safe }} + {{ data.chart_data | tojson }}, + {{ annotations_user | tojson }} ); </script> <script> viewAnnotations( "#graph_true", - {{ data.chart_data | safe }}, - {{ annotations_true | safe }} + {{ data.chart_data | tojson }}, + {{ annotations_true | tojson }} ); </script> {% endblock %} |
