Skip to content

Commit

Permalink
Oops. Need to escape the release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
devinfoley committed Sep 28, 2011
1 parent aaa5f00 commit bb5f52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/cap_mailer/_section.html.erb
Expand Up @@ -21,7 +21,7 @@
<% if key.is_a?(Symbol) && !data[key].nil?-%>
<p style="margin: 10px; padding: 0px;">
<span style="float:left; width:150px; padding: 10px 10px 0;"><%= key.to_s.titleize %></span>
<span style="float:left; width:490px; padding: 10px 10px 0;"><%= data[key].is_a?(Array) ? data[key].to_sentence : data[key].is_a?(String) ? data[key] : data[key].inspect %></span>
<span style="float:left; width:490px; padding: 10px 10px 0;"><%= data[key].is_a?(Array) ? data[key].to_sentence : data[key].is_a?(String) ? data[key].html_safe : data[key].inspect %></span>
</p>
<% end -%>
<% end -%>
Expand Down

0 comments on commit bb5f52c

Please sign in to comment.