We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6a654 commit d54d14fCopy full SHA for d54d14f
web/src/components/PreviewImages.astro
@@ -36,7 +36,7 @@ if (images?.length) {
36
37
<div class="preview-images">
38
{images.map(({ src, description, resolvedPath, width, height }) => (
39
- <a href={src} class="glightbox" data-description={marked(description)} data-gallery="gallery">
+ <a href={src} class="glightbox" data-description={description ? marked(description) : ""} data-gallery="gallery">
40
<Image
41
width={width}
42
height={height}
0 commit comments