Commit 3a4bf6b7 authored by Brett Walker's avatar Brett Walker

Use MarkupHelper.markdown, not pipeline directly

MarkupHelper.markdown calls the pre and post pipelines
parent eb695e04
......@@ -12,7 +12,9 @@ namespace :gitlab do
end
puts "Rendering using Gitlab's FullPipeline...\n\n"
puts Banzai::Pipeline::FullPipeline.to_html(markdown.join("\n"), project: nil)
html = MarkupHelper.markdown(markdown.join("\n"), { pipeline: :full, project: nil })
puts html.gsub('
', "\n")
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment