gitlabhq/app/helpers/wikis_helper.rb

6 lines
100 B
Ruby
Raw Normal View History

2012-02-20 18:16:55 +01:00
module WikisHelper
def markdown_to_html(text)
RDiscount.new(text).to_html.html_safe
end
end