diff --git a/packages/astro/src/core/ssr/rss.ts b/packages/astro/src/core/ssr/rss.ts
index d1f1469b1..93d799f92 100644
--- a/packages/astro/src/core/ssr/rss.ts
+++ b/packages/astro/src/core/ssr/rss.ts
@@ -45,6 +45,7 @@ export function generateRSS(args: GenerateRSSArgs): string {
if (!result.link) throw new Error(`[${srcFile}] rss.items required "link" property is missing. got: "${JSON.stringify(result)}"`);
xml += `
`;
xml += `${canonicalURL(result.link, site).href}`;
+ xml += `${canonicalURL(result.link, site).href}`;
if (result.description) xml += ``;
if (result.pubDate) {
// note: this should be a Date, but if user provided a string or number, we can work with that, too.
diff --git a/packages/astro/test/astro-sitemap-rss.test.js b/packages/astro/test/astro-sitemap-rss.test.js
index a39983196..f193ed77b 100644
--- a/packages/astro/test/astro-sitemap-rss.test.js
+++ b/packages/astro/test/astro-sitemap-rss.test.js
@@ -19,7 +19,7 @@ describe('Sitemaps', () => {
it('generates RSS correctly', async () => {
const rss = await fixture.readFile('/custom/feed.xml');
expect(rss).to.equal(
- `https://astro.build/custom/feed.xmlen-usMF Doomhttps://astro.build/episode/rap-snitch-knishes/Tue, 16 Nov 2004 00:00:00 GMTmusic172truehttps://astro.build/episode/fazers/Thu, 03 Jul 2003 00:00:00 GMTmusic197truehttps://astro.build/episode/rhymes-like-dimes/https://astro.build/custom/feed.xmlen-usMF Doomhttps://astro.build/episode/rap-snitch-knishes/https://astro.build/episode/rap-snitch-knishes/Tue, 16 Nov 2004 00:00:00 GMTmusic172truehttps://astro.build/episode/fazers/https://astro.build/episode/fazers/Thu, 03 Jul 2003 00:00:00 GMTmusic197truehttps://astro.build/episode/rhymes-like-dimes/https://astro.build/episode/rhymes-like-dimes/Tue, 19 Oct 1999 00:00:00 GMTmusic259true`
);
});