Try to fix error with escape

This commit is contained in:
Kuba Orlik 2026-01-01 19:23:29 +01:00
parent 99c6494fb2
commit 1f13343f03

View File

@ -50,7 +50,7 @@ export class HorizontalGallery extends Component<typeof component_arguments> {
<div
class="image-wrapper"
data-glightbox-target="pictureWrapper"
data-glightbox-caption={htmlEscape(image.caption)}
data-glightbox-caption={htmlEscape(image.caption || "")}
>
{render_image(image.image, {
sizesAttr: "100vw",