Fixed wikicloth bug "missing last row". (Better: implemented a workaround)

This commit is contained in:
Benjamin Meichsner 2009-08-12 18:47:33 +02:00
parent a8c93c08b7
commit 3b766af2a6

View file

@ -10,7 +10,7 @@ module PagesHelper
# end # end
def wikified_body(page) def wikified_body(page)
WikiCloth.new({:data => page.body, :link_handler => Wikilink.new, :params => {:referer => page.title}}).to_html WikiCloth.new({:data => page.body+"\n", :link_handler => Wikilink.new, :params => {:referer => page.title}}).to_html
end end
def link_to_wikipage(page) def link_to_wikipage(page)