Skip to content

Commit

Permalink
Merge pull request #420 from kronn/patch-1
Browse files Browse the repository at this point in the history
Align output of section-headers consistently
  • Loading branch information
smartinez87 committed May 31, 2018
2 parents dec18c9 + f805517 commit aea78ad
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<%= @exception.message %>
<%= @backtrace.first %>
<% sections = @sections.map do |section|
summary = render(section).strip
unless summary.blank?
title = render("title", :title => section).strip
"#{title}\n\n#{summary.gsub(/^/, " ")}\n\n"
end
end.join
%>
<%= raw sections %>
<% sections = @sections.map do |section|
summary = render(section).strip
unless summary.blank?
title = render("title", :title => section).strip
"#{title}\n\n#{summary.gsub(/^/, " ")}\n\n"
end
end.join
%>
<%= raw sections %>

0 comments on commit aea78ad

Please sign in to comment.