Render the (about to be) imported scenario description as markdown.

Guilherme J. Tramontina преди 10 години
родител
ревизия
f2ef00b683
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/views/scenario_imports/_step_two.html.erb

+ 1 - 1
app/views/scenario_imports/_step_two.html.erb

@@ -30,7 +30,7 @@
30 30
     </div>
31 31
 
32 32
     <% if @scenario_import.parsed_data["description"].present? %>
33
-      <blockquote><%= @scenario_import.parsed_data["description"] %></blockquote>
33
+      <blockquote><%= markdown(@scenario_import.parsed_data["description"]) %></blockquote>
34 34
     <% end %>
35 35
 
36 36
   </div>