aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-30 19:10:58 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-30 19:10:58 -0400
commit0a35e8a3525db58bf38cd6ffdc45c7baaae04dd8 (patch)
tree7259a26dd8790fc034c8fbc058511afd31666b58
parent4a5344199bf216c65ce8f0fc516c673f3cb2b261 (diff)
downloadikiwiki-0a35e8a3525db58bf38cd6ffdc45c7baaae04dd8.tar
ikiwiki-0a35e8a3525db58bf38cd6ffdc45c7baaae04dd8.tar.gz
haiku: Generate valid xhtml.
-rw-r--r--IkiWiki/Plugin/haiku.pm4
-rw-r--r--debian/changelog6
-rw-r--r--doc/plugins/haiku/discussion.mdwn2
3 files changed, 10 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/haiku.pm b/IkiWiki/Plugin/haiku.pm
index 35208e56c..5d5e8d5aa 100644
--- a/IkiWiki/Plugin/haiku.pm
+++ b/IkiWiki/Plugin/haiku.pm
@@ -42,9 +42,9 @@ sub preprocess (@) { #{{{
}
$haiku=~s/^\s+//mg;
- $haiku=~s/\n/<br>\n/mg;
+ $haiku=~s/\n/<br \/>\n/mg;
- return "\n\n<blockquote>$haiku</blockquote>\n\n";
+ return "\n\n<blockquote><p>$haiku</p></blockquote>\n\n";
} # }}}
1
diff --git a/debian/changelog b/debian/changelog
index 0edd2ab33..86f1f036d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ikiwiki (2.49) UNRELEASED; urgency=low
+
+ * haiku: Generate valid xhtml.
+
+ -- Joey Hess <joeyh@debian.org> Fri, 30 May 2008 19:08:54 -0400
+
ikiwiki (2.48) unstable; urgency=high
* Fix security hole that occurred if openid and passwordauth were both
diff --git a/doc/plugins/haiku/discussion.mdwn b/doc/plugins/haiku/discussion.mdwn
index 3b19eddd9..a5d0939ce 100644
--- a/doc/plugins/haiku/discussion.mdwn
+++ b/doc/plugins/haiku/discussion.mdwn
@@ -1,3 +1,5 @@
The output of this plugin does not validate as XHTML: [validator.w3.org][w3] --ulrik
[w3]: http://validator.w3.org/check?uri=http%3A%2F%2Fikiwiki.info%2Fplugins%2Fhaiku%2Findex.html&charset=%28detect+automatically%29&doctype=Inline&group=0
+
+> Fixed --[[Joey]]