diff --git a/src/components/EducationResource/index.astro b/src/components/EducationResource/index.astro index 3e0199b0b7..b67498bac2 100644 --- a/src/components/EducationResource/index.astro +++ b/src/components/EducationResource/index.astro @@ -8,6 +8,7 @@ interface Props { } const { name, featuredImage, featuredImageAlt } = Astro.props; +const authorHTML = (await Astro.slots.render("author")).replace(/\
]*\>/gm, ""); ---