nuxt-modules / og-image

Generate OG Images with Vue templates in Nuxt.
https://nuxtseo.com/og-image
400 stars 25 forks source link

Array prop has duplicated vnodes when rendering SVG #89

Closed manniL closed 12 months ago

manniL commented 1 year ago

Describe the bug

When using an array property for the OG Image template, it's vnodes are doubled when rendering with satori.

Reproduction

StackBlitz

  1. Open the StackBlitz
  2. Check the Template HTML - it should show [1,2,3]
  3. Now check preview SVG. It shows [1,2,3,1,2,3]

grafik

System / Nuxt Info

harlan-zw commented 12 months ago

Thanks for the issue and reproduction, will be fixed in next release.