From cff9d0aa5832e2d4c296a8c9b34ac5f88c9b0d3d Mon Sep 17 00:00:00 2001
From: Mario Lang
tags, but we neglected to do the same check when outputting the corresponding
end tags.
Also, since I had to read the code when I touched it, simplified a conditional:
if (a) if (a and (b or not b and c))
can be simplified to
if (a) if (b or c)
Note the "b or not b", it was just too ugly to not fix.
---
pelican/tests/output/basic/category/bar.html | 4 +---
pelican/tests/output/basic/category/yeah.html | 4 +---
pelican/tests/output/basic/tag/foobar.html | 4 +---
pelican/tests/output/basic/tag/yeah.html | 4 +---
pelican/tests/output/custom/category/bar.html | 4 +---
pelican/tests/output/custom/category/yeah.html | 4 +---
pelican/tests/output/custom/tag/foobar.html | 4 +---
pelican/tests/output/custom/tag/yeah.html | 4 +---
pelican/themes/notmyidea/templates/index.html | 11 +++++++----
9 files changed, 15 insertions(+), 28 deletions(-)
diff --git a/pelican/tests/output/basic/category/bar.html b/pelican/tests/output/basic/category/bar.html
index 54b1db3e..763cfe77 100644
--- a/pelican/tests/output/basic/category/bar.html
+++ b/pelican/tests/output/basic/category/bar.html
@@ -46,8 +46,6 @@ YEAH !