summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
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 /IkiWiki/Plugin
parent4a5344199bf216c65ce8f0fc516c673f3cb2b261 (diff)
haiku: Generate valid xhtml.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/haiku.pm4
1 files changed, 2 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