-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Labels
Description
Version
Reproduction link
https://codesandbox.io/s/epic-chatterjee-pnzlr
Steps to reproduce
use image with a caption in a route
What is expected ?
<url>
<loc>https://examplee.com/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<image:image>
<image:loc>https://example.com/some-image.png</image:loc>
<image:caption>normal string</image:caption>
</image:image>
</url>
What is actually happening?
<url>
<loc>https://examplee.com/</loc>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<image:image>
<image:loc>https://example.com/some-image.png</image:loc>
<image:caption><![CDATA[normal string]]></image:caption>
</image:image>
</url>
Additional comments?
And i don't know why my sandbox does not even generate the xml file properly anyway.
I tried setting "cdata" to false in sitemap options defaults but it didn't help.
I have tested the route example in the sandbox on my local environment and it got wrapped in cdata