scinote-web/app/views/results/_result_text.html.erb
2016-02-12 16:52:43 +01:00

5 lines
141 B
Text

<% if markdown.present? %>
<%= markdown.render(result.result_text.text).html_safe %>
<% else %>
<%= result.result_text.text %>
<% end %>