wiki-syntax: Use markup instead of textile.
This commit is contained in:
parent
f450070dbf
commit
dafbb077b6
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue