Omit the type attribute of script tag

This commit is contained in:
Frank Yu 2021-07-07 15:16:29 +08:00 committed by GitHub
parent 6e1b72096d
commit 922e91b278
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,7 @@ the filter to render data inside ``<script>`` tags.
.. sourcecode:: html+jinja
<script type=text/javascript>
<script>
const names = {{ names|tosjon }};
renderChart(names, {{ axis_data|tojson }});
</script>