Try to fix error with escape
This commit is contained in:
parent
99c6494fb2
commit
1f13343f03
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user