Retrospring/app/services/question_markdown.rb

10 lines
188 B
Ruby

require 'uri'
class QuestionMarkdown < Redcarpet::Render::Base
include Rails.application.routes.url_helpers
include SharedMarkers
def paragraph(text)
"<p>#{text}</p>"
end
end