wiki-syntax: Use markup instead of textile.

This commit is contained in:
Benjamin Meichsner 2009-05-07 17:59:23 +02:00
parent f450070dbf
commit dafbb077b6
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
module PagesHelper
def wikified_body(body)
r = RedCloth.new(body)
r = BlueCloth.new(body)
r.gsub!(/\[\[(.*?)(\|(.*?))?\]\]/) { wiki_link($1, $3) }
sanitize r.to_html
r.to_html