Fixed wikicloth bug "missing last row". (Better: implemented a workaround)
This commit is contained in:
parent
a8c93c08b7
commit
3b766af2a6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue