Commit 2fd30cc5 authored by Robert Schilling's avatar Robert Schilling

Rescue if markup fails, fixes #7455

parent 9d3e384a
......@@ -222,6 +222,8 @@ module ApplicationHelper
def render_markup(file_name, file_content)
GitHub::Markup.render(file_name, file_content).html_safe
rescue RuntimeError
simple_format(file_content)
end
def spinner(text = nil, visible = false)
......
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