haiku: Generate valid xhtml.

master
Joey Hess 2008-05-30 19:10:58 -04:00
parent 4a5344199b
commit 0a35e8a352
3 changed files with 10 additions and 2 deletions

View File

@ -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

6
debian/changelog vendored
View File

@ -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

View File

@ -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]]