fix json escaping in templates

This commit is contained in:
bkfox
2022-12-16 11:04:25 +01:00
parent b0eaf0c531
commit 8bd11f363b
12 changed files with 13057 additions and 83 deletions

View File

@ -18,7 +18,7 @@ The audio player
</noscript>
<a-player ref="player"
:live-args="{url: '{% url "api:live" %}', timeout:10, src: {{ audio_streams|json|force_escape }} || []}"
:live-args="{url: '{% url "api:live" %}', timeout:10, src: {{ audio_streams|json }} || []}"
button-title="{% translate "Play or pause audio" %}">
<template v-slot:content="{ loaded, live, current }">
<h4 v-if="loaded" class="title is-4">