Skip to content

Commit

Permalink
Merge pull request #3316 from boxydog/apply_filters_to_test_output
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer authored May 31, 2024
2 parents 59756f8 + 98bdd87 commit 270fd4e
Show file tree
Hide file tree
Showing 150 changed files with 162 additions and 164 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ repos:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

exclude: ^pelican/tests/output/
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/a-markdown-powered-article.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/archives.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/article-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/article-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/article-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/author/alexis-metaireau.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/categories.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/category/bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/category/cat1.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/category/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/category/yeah.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1 class="entry-title">
<div class="entry-content">
<footer class="post-info">
<abbr class="published" title="9999-12-31T23:59:59.999999+00:00">
Published:
Published:
</abbr>

<p>In <a href="/category/misc.html">misc</a>.</p>
Expand Down Expand Up @@ -65,4 +65,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/drafts/a-draft-article.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/alexis-metaireau.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ as well as &lt;strong&gt;inline markup&lt;/strong&gt;.&lt;/p&gt;
YEAH !&lt;/p&gt;
&lt;img alt="alternate text" src="/pictures/Sushi.jpg" style="width: 600px; height: 450px;" /&gt;
&lt;/div&gt;
</content><category term="bar"></category><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
</content><category term="bar"></category><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/alexis-metaireau.rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ as well as &lt;strong&gt;inline markup&lt;/strong&gt;.&lt;/p&gt;
YEAH !&lt;/p&gt;
&lt;img alt="alternate text" src="/pictures/Sushi.jpg" style="width: 600px; height: 450px;" /&gt;
&lt;/div&gt;
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 20 Oct 2010 10:14:00 +0000</pubDate><guid isPermaLink="false">tag:None,2010-10-20:/oh-yeah.html</guid><category>bar</category><category>oh</category><category>bar</category><category>yeah</category></item></channel></rss>
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexis Métaireau</dc:creator><pubDate>Wed, 20 Oct 2010 10:14:00 +0000</pubDate><guid isPermaLink="false">tag:None,2010-10-20:/oh-yeah.html</guid><category>bar</category><category>oh</category><category>bar</category><category>yeah</category></item></channel></rss>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/all-en.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ pelican.conf, it will have nothing in default.&lt;/p&gt;
&lt;p&gt;Lovely.&lt;/p&gt;
&lt;/div&gt;
</content><category term="misc"></category></entry><entry><title>The baz tag</title><link href="/tag/baz.html" rel="alternate"></link><published>2010-03-14T00:00:00+00:00</published><updated>2010-03-14T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2010-03-14:/tag/baz.html</id><content type="html">&lt;p&gt;This article overrides the listening of the articles under the &lt;em&gt;baz&lt;/em&gt; tag.&lt;/p&gt;
</content><category term="misc"></category></entry></feed>
</content><category term="misc"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/all-fr.atom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>A Pelican Blog</title><link href="/" rel="alternate"></link><link href="/feeds/all-fr.atom.xml" rel="self"></link><id>/</id><updated>2012-02-29T00:00:00+00:00</updated><entry><title>Deuxième article</title><link href="/second-article-fr.html" rel="alternate"></link><published>2012-02-29T00:00:00+00:00</published><updated>2012-02-29T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2012-02-29:/second-article-fr.html</id><content type="html">&lt;p&gt;Ceci est un article, en français.&lt;/p&gt;
</content><category term="misc"></category><category term="foo"></category><category term="bar"></category><category term="baz"></category></entry><entry><title>Trop bien !</title><link href="/oh-yeah-fr.html" rel="alternate"></link><published>2010-10-20T10:14:00+00:00</published><updated>2010-10-20T10:14:00+00:00</updated><author><name></name></author><id>tag:None,2010-10-20:/oh-yeah-fr.html</id><content type="html">&lt;p&gt;Et voila du contenu en français&lt;/p&gt;
</content><category term="misc"></category></entry></feed>
</content><category term="misc"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/all.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ pelican.conf, it will have nothing in default.&lt;/p&gt;
&lt;p&gt;Lovely.&lt;/p&gt;
&lt;/div&gt;
</content><category term="misc"></category></entry><entry><title>The baz tag</title><link href="/tag/baz.html" rel="alternate"></link><published>2010-03-14T00:00:00+00:00</published><updated>2010-03-14T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2010-03-14:/tag/baz.html</id><content type="html">&lt;p&gt;This article overrides the listening of the articles under the &lt;em&gt;baz&lt;/em&gt; tag.&lt;/p&gt;
</content><category term="misc"></category></entry></feed>
</content><category term="misc"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/bar.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
YEAH !&lt;/p&gt;
&lt;img alt="alternate text" src="/pictures/Sushi.jpg" style="width: 600px; height: 450px;" /&gt;
&lt;/div&gt;
</content><category term="bar"></category><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
</content><category term="bar"></category><category term="oh"></category><category term="bar"></category><category term="yeah"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/cat1.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
&lt;a href="/unbelievable.html"&gt;a file-relative link to unbelievable&lt;/a&gt;&lt;/p&gt;</content><category term="cat1"></category></entry><entry><title>Article 1</title><link href="/article-1.html" rel="alternate"></link><published>2011-02-17T00:00:00+00:00</published><updated>2011-02-17T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2011-02-17:/article-1.html</id><content type="html">&lt;p&gt;Article 1&lt;/p&gt;
</content><category term="cat1"></category></entry><entry><title>Article 2</title><link href="/article-2.html" rel="alternate"></link><published>2011-02-17T00:00:00+00:00</published><updated>2011-02-17T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2011-02-17:/article-2.html</id><content type="html">&lt;p&gt;Article 2&lt;/p&gt;
</content><category term="cat1"></category></entry><entry><title>Article 3</title><link href="/article-3.html" rel="alternate"></link><published>2011-02-17T00:00:00+00:00</published><updated>2011-02-17T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2011-02-17:/article-3.html</id><content type="html">&lt;p&gt;Article 3&lt;/p&gt;
</content><category term="cat1"></category></entry></feed>
</content><category term="cat1"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/misc.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ pelican.conf, it will have nothing in default.&lt;/p&gt;
&lt;p&gt;Lovely.&lt;/p&gt;
&lt;/div&gt;
</content><category term="misc"></category></entry><entry><title>The baz tag</title><link href="/tag/baz.html" rel="alternate"></link><published>2010-03-14T00:00:00+00:00</published><updated>2010-03-14T00:00:00+00:00</updated><author><name></name></author><id>tag:None,2010-03-14:/tag/baz.html</id><content type="html">&lt;p&gt;This article overrides the listening of the articles under the &lt;em&gt;baz&lt;/em&gt; tag.&lt;/p&gt;
</content><category term="misc"></category></entry></feed>
</content><category term="misc"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/feeds/yeah.atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ as well as &lt;strong&gt;inline markup&lt;/strong&gt;.&lt;/p&gt;
&lt;/pre&gt;
&lt;p&gt;→ And now try with some utf8 hell: ééé&lt;/p&gt;
&lt;/div&gt;
</content><category term="yeah"></category><category term="foo"></category><category term="bar"></category><category term="foobar"></category></entry></feed>
</content><category term="yeah"></category><category term="foo"></category><category term="bar"></category><category term="foobar"></category></entry></feed>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/filename_metadata-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/oh-yeah-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/oh-yeah.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
4 changes: 2 additions & 2 deletions pelican/tests/output/basic/override/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1><a href="/">A Pelican Blog</a></h1>
</header><!-- /#banner -->
<section id="content" class="body">
<h1 class="entry-title">Override url/save_as</h1>

<p>Test page which overrides save_as and url so that this page will be generated
at a custom location.</p>

Expand All @@ -48,4 +48,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1><a href="/">A Pelican Blog</a></h1>
</header><!-- /#banner -->
<section id="content" class="body">
<h1 class="entry-title">This is a test hidden page</h1>

<p>This is great for things like error(404) pages
Anyone can see this page but it's not linked to anywhere!</p>

Expand All @@ -48,4 +48,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
4 changes: 2 additions & 2 deletions pelican/tests/output/basic/pages/this-is-a-test-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1><a href="/">A Pelican Blog</a></h1>
</header><!-- /#banner -->
<section id="content" class="body">
<h1 class="entry-title">This is a test page</h1>

<p>Just an image.</p>
<img alt="alternate text" src="/pictures/Fat_Cat.jpg" style="width: 600px; height: 450px;" />
<img alt="wrong path since 'images' folder does not exist" src="|filename|/images/Fat_Cat.jpg" style="width: 600px; height: 450px;" />
Expand All @@ -49,4 +49,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/second-article-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/second-article.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tag/bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tag/baz.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tag/foo.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tag/foobar.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
4 changes: 2 additions & 2 deletions pelican/tests/output/basic/tag/oh.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1><a href="/">A Pelican Blog</a></h1>
</header><!-- /#banner -->
<section id="content" class="body">
<h1 class="entry-title">Oh Oh Oh</h1>

<p>This page overrides the listening of the articles under the <em>oh</em> tag.</p>

</section>
Expand All @@ -47,4 +47,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tag/yeah.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/theme/css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ del {text-decoration: line-through;}
table {
border-collapse: collapse;
border-spacing: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
Expand Down
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/this-is-a-super-article.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/basic/unbelievable.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ <h2>social</h2>
</footer><!-- /#contentinfo -->

</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/custom/archives.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/custom/article-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/custom/article-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/custom/article-3.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion pelican/tests/output/custom/author/alexis-metaireau.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,4 @@ <h2>social</h2>
}());
</script>
</body>
</html>
</html>
Loading

0 comments on commit 270fd4e

Please sign in to comment.