Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change Page model to use RDiscount
  • Loading branch information
jdpace committed Feb 12, 2010
1 parent 46faa4a commit a4a7ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/page.rb
Expand Up @@ -15,7 +15,7 @@ def to_param
protected protected


def cache_body_html def cache_body_html
blue_cloth = BlueCloth::new(body) markdown = RDiscount.new(body)
self.body_html = blue_cloth.to_html self.body_html = markdown.to_html
end end
end end

0 comments on commit a4a7ef4

Please sign in to comment.