gitlabhq/app/helpers/wikis_helper.rb
2012-02-20 20:16:55 +03:00

6 lines
100 B
Ruby

module WikisHelper
def markdown_to_html(text)
RDiscount.new(text).to_html.html_safe
end
end