diff options
author | Mole Shang <[email protected]> | 2023-11-21 19:06:16 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-11-21 19:06:16 +0800 |
commit | af73327f5cd282660b4bd15e3139bb775858370b (patch) | |
tree | bce54b188c8780cc955838cf410688ba5c88b7c6 | |
parent | 6ebb875b7f83dc910aef240e58b7062886321e3c (diff) | |
download | Seje2-af73327f5cd282660b4bd15e3139bb775858370b.tar.gz Seje2-af73327f5cd282660b4bd15e3139bb775858370b.tar.bz2 Seje2-af73327f5cd282660b4bd15e3139bb775858370b.zip |
templates/shortcodes/shikwasa: do not escape url in {image,media}
-rw-r--r-- | templates/shortcodes/shikwasa.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html index 10ac1d7..93c4601 100644 --- a/templates/shortcodes/shikwasa.html +++ b/templates/shortcodes/shikwasa.html @@ -1,14 +1,17 @@ +<link + rel="stylesheet" + href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css" +/> +<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/shikwasa.min.js"></script> <div class="podcast"> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/style.css"/> - <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/shikwasa.min.js"></script> <script> const player = new Shikwasa.Player({ container: () => document.querySelector(".podcast"), audio: { title: "{{subtitle}}", artist: "{{author}}", - cover: "{{image}}", - src: "{{media}}", + cover: "{{image | safe}}", + src: "{{media | safe}}", }, fixed: { type: "static", |