<div class="debug-output">
<% if build[:priority] %>
  <h3 class="block-header">priority:</h3>
  <%= build[:priority] %>
<% end %>
<% if build[:command] %>
  <h3 class="block-header">command:</h3>
  <%= build[:command] %>
<% end %>
<% if build[:environment] %>
  <h3 class="block-header">environment:</h3>
  <% build[:environment].reject{|k, v| v.nil?}.each do |k, v| %>
    <p><strong><%="#{k} = " %></strong><%="#{v}" %></p>
  <% end %>
<% end %>
<% if build[:callbacks] %>
  <h3 class="block-header">callbacks:</h3>
  <% build[:callbacks].each do |callback| %>
    <p><%= callback %><p>
  <% end %>
<% end %>
</div>

<div class="debug-output">
<% if build[:priority] %>
  <h3 class="block-header">priority:</h3>
  <%= build[:priority] %>
<% end %>
<% if build[:command] %>
  <h3 class="block-header">command:</h3>
  <%= build[:command] %>
<% end %>
<% if build[:environment] %>
  <h3 class="block-header">environment:</h3>
  <% build[:environment].reject{|k, v| v.nil?}.each do |k, v| %>
    <p><strong><%="#{k}=" %></strong><%="#{v}" %></p>
  <% end %>
<% end %>
<% if build[:callbacks] %>
  <h3 class="block-header">callbacks:</h3>
  <% build[:callbacks].each do |callback| %>
    <p><%= callback %><p>
  <% end %>
<% end %>
</div>

Remove spaces from environment info
Remove spaces from environment info
