From 8bd25a641ce759ff9273f102632f39faef691d26 Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Fri, 12 Oct 2007 02:12:09 +0000 Subject: [PATCH] Fix typo in default html head rss line, and adjust tests. --- blosxom.cgi | 2 +- t/Setup | 1 + t/permalinks/expected.bar | 2 +- t/permalinks/expected.html | 2 +- t/smoketest/expected.html | 2 +- t/templates/data/head.html | 2 +- t/templates/expected.html | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) diff --git a/blosxom.cgi b/blosxom.cgi index 6852746..638830f 100755 --- a/blosxom.cgi +++ b/blosxom.cgi @@ -726,7 +726,7 @@ html content_type text/html; charset=$blog_encoding html head html head html head -html head +html head html head $blog_title $path_info_da $path_info_mo $path_info_yr html head html head diff --git a/t/Setup b/t/Setup index 8334ff9..ffdbe16 100755 --- a/t/Setup +++ b/t/Setup @@ -20,6 +20,7 @@ close $th; for my $t (@tests) { chomp $t; + unlink $t if -l $t; print "symlink $DRIVER $t\n"; eval { symlink $DRIVER, $t } or die "symlink $DRIVER, $t failed: $!"; } diff --git a/t/permalinks/expected.bar b/t/permalinks/expected.bar index 72d9ef6..c39e86f 100644 --- a/t/permalinks/expected.bar +++ b/t/permalinks/expected.bar @@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1 - + My Weblog diff --git a/t/permalinks/expected.html b/t/permalinks/expected.html index cd79989..3577238 100644 --- a/t/permalinks/expected.html +++ b/t/permalinks/expected.html @@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1 - + My Weblog diff --git a/t/smoketest/expected.html b/t/smoketest/expected.html index 0de1f33..63a7e65 100644 --- a/t/smoketest/expected.html +++ b/t/smoketest/expected.html @@ -3,7 +3,7 @@ Content-Type: text/html; charset=ISO-8859-1 - + My Weblog diff --git a/t/templates/data/head.html b/t/templates/data/head.html index 47130be..7426227 100644 --- a/t/templates/data/head.html +++ b/t/templates/data/head.html @@ -2,7 +2,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + $blog_title $path_info_da $path_info_mo $path_info_yr diff --git a/t/templates/expected.html b/t/templates/expected.html index 2dd823b..22ee8a0 100644 --- a/t/templates/expected.html +++ b/t/templates/expected.html @@ -4,7 +4,7 @@ Content-Type: text/xhtml; charset=UTF-8 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + My Weblog -- 2.30.2