Merge pull request #457 from dsander/allow-html-in-emails

Allow html in email agents, proected by sanitize
This commit is contained in:
Andrew Cantino 2014-08-21 17:49:23 -07:00
commit e0c98f2465

View file

@ -5,14 +5,14 @@
</head>
<body>
<% if @headline %>
<h1><%= @headline %></h1>
<h1><%= sanitize @headline %></h1>
<% end %>
<% @groups.each do |group| %>
<div style='margin-bottom: 10px;'>
<div><%= group[:title] %></div>
<div><%= sanitize group[:title] %></div>
<% group[:entries].each do |entry| %>
<div style='margin-left: 10px;'>
<%= entry %>
<%= sanitize entry %>
</div>
<% end %>
</div>