diff options
| author | tdro <tdro@noreply.example.com> | 2024-10-30 00:00:00 +0000 |
|---|---|---|
| committer | tdro <tdro@noreply.example.com> | 2024-10-30 00:00:00 +0000 |
| commit | 73eafe19a25bd57559f47d3afc793cf60e8a48a1 (patch) | |
| tree | 1188401626f1b4b7381e716547b753492a2db7b2 | |
| parent | fac0f7c9595031a1922abd5ae93166a8c8969c77 (diff) | |
| download | canory-73eafe19a25bd57559f47d3afc793cf60e8a48a1.tar.gz canory-73eafe19a25bd57559f47d3afc793cf60e8a48a1.tar.bz2 canory-73eafe19a25bd57559f47d3afc793cf60e8a48a1.zip | |
themes/default/layouts/partials/video-container: HTML escape captions
| -rw-r--r-- | themes/default/layouts/partials/video-container.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/video-container.html b/themes/default/layouts/partials/video-container.html index 856c8eb..4d957bf 100644 --- a/themes/default/layouts/partials/video-container.html +++ b/themes/default/layouts/partials/video-container.html @@ -43,6 +43,8 @@ {{- $source = $cache | relURL -}} +{{- $caption = $caption | htmlEscape -}} + {{- if .Remote -}} {{- $source = .Source -}} {{- end -}} |
