]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/haiku.pm
don't show an error if the image is missing, instead, a broken link
[git.ikiwiki.info.git] / IkiWiki / Plugin / haiku.pm
index 35208e56cfcc307ba95f23555ec537d1b78859e7..5d5e8d5aaf93089fe84cc3774966f7a914aa516c 100644 (file)
@@ -42,9 +42,9 @@ sub preprocess (@) { #{{{
        }
                
        $haiku=~s/^\s+//mg;
        }
                
        $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
 } # }}}
 
 1