\n\n";
+ $ret.="\n\n";
if ($open && exists $config{cgiurl}) {
$ret.="\n";
}
diff --git a/IkiWiki/Plugin/sparkline.pm b/IkiWiki/Plugin/sparkline.pm
index 69b3512c2..1c972943e 100644
--- a/IkiWiki/Plugin/sparkline.pm
+++ b/IkiWiki/Plugin/sparkline.pm
@@ -152,11 +152,11 @@ sub preprocess (@) { #{{{
eval q{use MIME::Base64};
error($@) if $@;
return "";
+ encode_base64($png)."\">";
}
}
- return '';
+ return '';
} # }}}
1
diff --git a/IkiWiki/Plugin/toc.pm b/IkiWiki/Plugin/toc.pm
index 797bfc6bd..bc62f71d6 100644
--- a/IkiWiki/Plugin/toc.pm
+++ b/IkiWiki/Plugin/toc.pm
@@ -47,7 +47,7 @@ sub format (@) { #{{{
if ($tagname =~ /^h(\d+)$/i) {
my $level=$1;
my $anchor="index".++$anchors{$level}."h$level";
- $page.="$text";
+ $page.="$text";
# Take the first header level seen as the topmost level,
# even if there are higher levels seen later on.
diff --git a/debian/NEWS b/debian/NEWS
index 7a5808ac0..61e66e3d0 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,23 @@
+ikiwiki (2.4) unstable; urgency=low
+
+ Ikiwiki now outputs HTML 4.01, not XHTML 1.0. For the many reasons, see
+ http://www.hixie.ch/advocacy/xhtml and note that even if a web server is
+ set up to serve XHTML appropriately as application/xhtml+xml, mozilla
+ doesn't support that mime type.
+
+ It's possible that your wiki contains some hardcoded XHTML tags. No
+ need to worry about these too much though. Since before ikiwiki generated
+ XHTML before, but your web server almost certianly served it up as
+ text/html, web browsers actually were processing it as HTML all along and
+ if an XHTML tag worked before, it will continue to work. Also,
+ both the htmlscrubber and htmlsanitizer modules will convert any such
+ XHTML tags to valid HTML tags.
+
+ You might want to rebuild your wiki on upgrade to this version, to switch
+ everything over to HTML 4.01 at once.
+
+ -- Joey Hess Sun, 08 Jul 2007 11:55:00 -0400
+
ikiwiki (2.1) unstable; urgency=low
Some wikis need to be rebuilt on upgrade to this version, due to changes to
diff --git a/debian/changelog b/debian/changelog
index d946f12e1..ade01140d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ikiwiki (2.4) UNRELEASED; urgency=low
+
+ * Ikiwiki now outputs HTML 4.01, not XHTML 1.0. See the NEWS file for
+ details. Closes: #432045
+
+ -- Joey Hess Sun, 08 Jul 2007 11:51:29 -0400
+
ikiwiki (2.3) unstable; urgency=low
* Corrected a typo in an error handler in the image plugin.
diff --git a/po/ikiwiki.pot b/po/ikiwiki.pot
index 4c8756f89..28a2b89e6 100644
--- a/po/ikiwiki.pot
+++ b/po/ikiwiki.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-06-29 20:49-0400\n"
+"POT-Creation-Date: 2007-07-08 12:25-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -208,7 +208,7 @@ msgstr ""
msgid "%s is locked by %s and cannot be edited"
msgstr ""
-#: ../IkiWiki/Plugin/mdwn.pm:37
+#: ../IkiWiki/Plugin/mdwn.pm:39
#, perl-format
msgid "failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"
msgstr ""
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
index 6bc789dfb..9eceee2e4 100644
--- a/templates/archivepage.tmpl
+++ b/templates/archivepage.tmpl
@@ -1,5 +1,5 @@