app/views/pg_hero/home/explain.html.erb in pghero-1.7.0 vs app/views/pg_hero/home/explain.html.erb in pghero-2.0.0
- old
+ new
@@ -12,10 +12,10 @@
<% if @explanation %>
<% if @visualize %>
<p>Paste the output below into the <%= link_to "Postgres Explain Visualizer", "http://tatiyants.com/pev/#/plans/new", target: "_blank" %></p>
<% end %>
- <pre><%= @explanation %></pre>
+ <pre><code><%= @explanation %></code></pre>
<% unless @visualize %>
<p><%= link_to "See how to interpret this", "http://www.postgresql.org/docs/current/static/using-explain.html", target: "_blank" %></p>
<% end %>
<% if (index = @suggested_index) %>
<%= render partial: "suggested_index", locals: {index: index, details: index[:details]} %>