fix(content-blog): links in feed should be absolute #3450
Annotations
7 errors
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L143
expect(received).toMatchSnapshot()
Snapshot name: `atom has feed item for each post 1`
- Snapshot - 2
+ Received + 2
@@ -1,21 +1,21 @@
[
"<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://docusaurus.io/myBaseUrl/blog</id>
<title>Hello Blog</title>
- <updated>2023-07-23T08:27:25.000Z</updated>
+ <updated>2023-07-23T08:32:53.000Z</updated>
<generator>https://github.com/jpmonette/feed</generator>
<link rel="alternate" href="https://docusaurus.io/myBaseUrl/blog"/>
<subtitle>Hello Blog</subtitle>
<icon>https://docusaurus.io/myBaseUrl/image/favicon.ico</icon>
<rights>Copyright</rights>
<entry>
<title type="html"><![CDATA[blog-with-links]]></title>
<id>https://docusaurus.io/myBaseUrl/blog/blog-with-links</id>
<link href="https://docusaurus.io/myBaseUrl/blog/blog-with-links"/>
- <updated>2023-07-23T08:27:25.000Z</updated>
+ <updated>2023-07-23T08:32:53.000Z</updated>
<summary type="html"><![CDATA[---]]></summary>
<content type="html"><![CDATA[<hr>
<h2 class="anchor anchorWithHideOnScrollNavbar_SSbb" id="title-test-linksdate-2023-07-23">title: test links
date: 2023-07-23<a href="https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23" class="hash-link" aria-label="Direct link to title: test links
date: 2023-07-23" title="Direct link to title: test links
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts:143:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `atom filters to the first two entries 1`
- Snapshot - 2
+ Received + 2
@@ -1,21 +1,21 @@
[
"<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>https://docusaurus.io/myBaseUrl/blog</id>
<title>Hello Blog</title>
- <updated>2023-07-23T08:27:25.000Z</updated>
+ <updated>2023-07-23T08:32:53.000Z</updated>
<generator>https://github.com/jpmonette/feed</generator>
<link rel="alternate" href="https://docusaurus.io/myBaseUrl/blog"/>
<subtitle>Hello Blog</subtitle>
<icon>https://docusaurus.io/myBaseUrl/image/favicon.ico</icon>
<rights>Copyright</rights>
<entry>
<title type="html"><![CDATA[blog-with-links]]></title>
<id>https://docusaurus.io/myBaseUrl/blog/blog-with-links</id>
<link href="https://docusaurus.io/myBaseUrl/blog/blog-with-links"/>
- <updated>2023-07-23T08:27:25.000Z</updated>
+ <updated>2023-07-23T08:32:53.000Z</updated>
<summary type="html"><![CDATA[---]]></summary>
<content type="html"><![CDATA[<hr>
<h2 class="anchor anchorWithHideOnScrollNavbar_SSbb" id="title-test-linksdate-2023-07-23">title: test links
date: 2023-07-23<a href="https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23" class="hash-link" aria-label="Direct link to title: test links
date: 2023-07-23" title="Direct link to title: test links
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts:195:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L143
expect(received).toMatchSnapshot()
Snapshot name: `rss has feed item for each post 1`
- Snapshot - 2
+ Received + 2
@@ -3,20 +3,20 @@
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Hello Blog</title>
<link>https://docusaurus.io/myBaseUrl/blog</link>
<description>Hello Blog</description>
- <lastBuildDate>Sun, 23 Jul 2023 08:27:25 GMT</lastBuildDate>
+ <lastBuildDate>Sun, 23 Jul 2023 08:32:53 GMT</lastBuildDate>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<generator>https://github.com/jpmonette/feed</generator>
<language>en</language>
<copyright>Copyright</copyright>
<item>
<title><![CDATA[blog-with-links]]></title>
<link>https://docusaurus.io/myBaseUrl/blog/blog-with-links</link>
<guid>https://docusaurus.io/myBaseUrl/blog/blog-with-links</guid>
- <pubDate>Sun, 23 Jul 2023 08:27:25 GMT</pubDate>
+ <pubDate>Sun, 23 Jul 2023 08:32:53 GMT</pubDate>
<description><![CDATA[---]]></description>
<content:encoded><![CDATA[<hr>
<h2 class="anchor anchorWithHideOnScrollNavbar_SSbb" id="title-test-linksdate-2023-07-23">title: test links
date: 2023-07-23<a href="https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23" class="hash-link" aria-label="Direct link to title: test links
date: 2023-07-23" title="Direct link to title: test links
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts:143:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `rss filters to the first two entries 1`
- Snapshot - 2
+ Received + 2
@@ -3,20 +3,20 @@
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Hello Blog</title>
<link>https://docusaurus.io/myBaseUrl/blog</link>
<description>Hello Blog</description>
- <lastBuildDate>Sun, 23 Jul 2023 08:27:25 GMT</lastBuildDate>
+ <lastBuildDate>Sun, 23 Jul 2023 08:32:53 GMT</lastBuildDate>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<generator>https://github.com/jpmonette/feed</generator>
<language>en</language>
<copyright>Copyright</copyright>
<item>
<title><![CDATA[blog-with-links]]></title>
<link>https://docusaurus.io/myBaseUrl/blog/blog-with-links</link>
<guid>https://docusaurus.io/myBaseUrl/blog/blog-with-links</guid>
- <pubDate>Sun, 23 Jul 2023 08:27:25 GMT</pubDate>
+ <pubDate>Sun, 23 Jul 2023 08:32:53 GMT</pubDate>
<description><![CDATA[---]]></description>
<content:encoded><![CDATA[<hr>
<h2 class="anchor anchorWithHideOnScrollNavbar_SSbb" id="title-test-linksdate-2023-07-23">title: test links
date: 2023-07-23<a href="https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23" class="hash-link" aria-label="Direct link to title: test links
date: 2023-07-23" title="Direct link to title: test links
at Object.toMatchSnapshot (packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts:195:7)
|
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L143
expect(received).toMatchSnapshot()
Snapshot name: `json has feed item for each post 1`
- Snapshot - 1
+ Received + 1
@@ -9,11 +9,11 @@
"id": "https://docusaurus.io/myBaseUrl/blog/blog-with-links",
"content_html": "<hr>/n<h2 class=\"anchor anchorWithHideOnScrollNavbar_SSbb\" id=\"title-test-linksdate-2023-07-23\">title: test links/ndate: 2023-07-23<a href=\"https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23\" class=\"hash-link\" aria-label=\"Direct link to title: test links/ndate: 2023-07-23\" title=\"Direct link to title: test links/ndate: 2023-07-23\"></a></h2>/n<p><a href=\"https://github.com/facebook/docusaurus\" target=\"_blank\" rel=\"noopener noreferrer\">absolute full url</a></p>/n<p><a href=\"https://docusaurus.io/blog-only/blog/2017/12/14/introducing-docusaurus\">absolute url with implicit domain name</a></p>/n<p><a href=\"https://docusaurus.io/blog-only/2017/12/14/introducing-docusaurus\">relative url</a></p>/n<p><a href=\"https://docusaurus.io/myBaseUrl/blog/blog-with-links#title\">anchor</a></p>/n<p><img loading=\"lazy\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAT3UlEQVR42u1dCVQVV5pWXNt2N0czykl33KImZ7IgKgqIghq3KCDK+qowCek2c2K0Mx3idBxakzYxJnZiq3Gf6Bg7UdN2R51MxnTSia3gew9Rwccm7oqiiIK4sPxTt1hEHo9XvPVW1fed852Dr+67UNb/1f3/+9/731atAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAO8i2CxGjDUJXzMGmcSZnmoHAF7B6GMJvYPNwq5gk1AmMS/YJMbaahtkNsRLbe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MmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GRkZil2
|
packages/docusaurus-plugin-content-blog/src/__tests__/feed.test.ts#L195
expect(received).toMatchSnapshot()
Snapshot name: `json filters to the first two entries 1`
- Snapshot - 1
+ Received + 1
@@ -9,11 +9,11 @@
"id": "https://docusaurus.io/myBaseUrl/blog/blog-with-links",
"content_html": "<hr>/n<h2 class=\"anchor anchorWithHideOnScrollNavbar_SSbb\" id=\"title-test-linksdate-2023-07-23\">title: test links/ndate: 2023-07-23<a href=\"https://docusaurus.io/myBaseUrl/blog/blog-with-links#title-test-linksdate-2023-07-23\" class=\"hash-link\" aria-label=\"Direct link to title: test links/ndate: 2023-07-23\" title=\"Direct link to title: test links/ndate: 2023-07-23\"></a></h2>/n<p><a href=\"https://github.com/facebook/docusaurus\" target=\"_blank\" rel=\"noopener noreferrer\">absolute full url</a></p>/n<p><a href=\"https://docusaurus.io/blog-only/blog/2017/12/14/introducing-docusaurus\">absolute url with implicit domain name</a></p>/n<p><a href=\"https://docusaurus.io/blog-only/2017/12/14/introducing-docusaurus\">relative url</a></p>/n<p><a href=\"https://docusaurus.io/myBaseUrl/blog/blog-with-links#title\">anchor</a></p>/n<p><img loading=\"lazy\" src=\"data:image/png;base64,i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dO1Lbtm3pueeeo61btzrUV1ZWFj3++ONWKxseffRRMpvNLe7vzTffrClF5ONDEydOhIuldb53ZqNTxpyfn08RERFWBsiM2mQytbi/+fPn29zCnJSU1KK+ioqKyNe3poTpU089RRs3bqTt27dTQEBAvUiuXr2quL8ff/xRFgYT7e7duxGk64E/FBsdFsfhw4epR48eNTsvO3WioKAgmjRpEvXu3Vv+rHPnzvTTTz8p7u/dd9+tqXwouS/Lly+nS5cuUUlJCa1fv17ui11j7pFSTJs2Tf4O+7tu3bpV//ndu3fr3v40Y8YMRX1VVFTQkCFD5O8sW7YMmXS98MLdQofEYbFYqFu3brLBsBGEBa11KC0tpcTERPkaa8NGGXs4ePCg/HZu06YN7du3z+r6/v3769/e6enpdvvbs2dPTeHrnj1l968xLl68SN2712yR/vbbb+3299lnn8ltn3jiCbp37x4y6XphedWdFouDBbiDBw+WDWb27NlUWVlp1aaqqooiIyPlNsOHD3/IqBrj9u3bNGjQILnt4sWLbbZbuHCh3Mbf37/J31kH9rvq+mPBuS2w0Yi18fPzk4NvW2C/iwmDtd22bRsy6RAINWvM48aNq48z2L9tgblH/fv3l9suWLDAZrt58+bJbZ5++ulmhcRGpscee8yu4a9YsUJuM2zYMNk1soXy8nLq16+f3Hbnzp0227EJAtZm4MCBVv0hkw4XS8aNGzdkV4S9bZmxMMM6f/683e+lpaVR+/Y1W5A//PBDq+vr1q2Tr7E2GR
|
|
The logs for this run have expired and are no longer available.
Loading