mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 11:51:43 +00:00
Merge pull request #457 from dsander/allow-html-in-emails
Allow html in email agents, proected by sanitize
This commit is contained in:
commit
e0c98f2465
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue