Correctly scape budget phase summary on phases list
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
-
|
||||
<%= format_date(phase.ends_at - 1.day) if phase.ends_at.present? %>
|
||||
</span>
|
||||
<p><%= phase.summary %></p>
|
||||
<p><%= safe_html_with_links(phase.summary) %></p>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
@@ -51,7 +51,7 @@ feature 'Budgets' do
|
||||
|
||||
budget.phases.drafting.update(starts_at: '30-12-2017', ends_at: '31-12-2017', enabled: true,
|
||||
description: 'Description of drafting phase',
|
||||
summary: 'This is the summary for drafting phase')
|
||||
summary: '<p>This is the summary for drafting phase</p>')
|
||||
|
||||
budget.phases.accepting.update(starts_at: '01-01-2018', ends_at: '10-01-2018', enabled: true,
|
||||
description: 'Description of accepting phase',
|
||||
|
||||
Reference in New Issue
Block a user