diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 19:10:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-30 19:10:58 -0400 |
commit | 0a35e8a3525db58bf38cd6ffdc45c7baaae04dd8 (patch) | |
tree | 7259a26dd8790fc034c8fbc058511afd31666b58 /IkiWiki/Plugin | |
parent | 4a5344199bf216c65ce8f0fc516c673f3cb2b261 (diff) |
haiku: Generate valid xhtml.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/haiku.pm | 4 |
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 |