fix(ImgFigure): better template HTML

This commit is contained in:
Lucien Cartier-Tilet 2024-06-21 08:27:34 +02:00
parent c4b8561997
commit 3c1f95664c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1,6 +1,8 @@
<template>
<img :alt="alt" :src="src" />
<figcaption><slot></slot></figcaption>
<figure>
<img :alt="alt" :src="src" />
<figcaption><slot></slot></figcaption>
</figure>
</template>
<script setup lang="ts">