markdown helper is not used with pre-rendered content

This commit is contained in:
Toon Claes 2017-04-24 12:27:58 +02:00
parent ed6ed251af
commit af114f1280

View file

@ -73,7 +73,7 @@ module MarkupHelper
return '' unless text.present?
context[:project] ||= @project
html = context.delete(:rendered) || markdown_unsafe(text, context)
html = markdown_unsafe(text, context)
banzai_postprocess(html, context)
end