Commit 2276f13845bae26059442e6bdbe2f165908c4770
1 parent
841f32a9
Exists in
fix_sign_up_form
CommunityTrack: avoid html parse in body and lead tracks and steps
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
plugins/community_track/views/blocks/_track.html.erb
plugins/community_track/views/content_viewer/_step_item.html.erb
... | ... | @@ -10,7 +10,7 @@ |
10 | 10 | <%= status_description(step_item) %> |
11 | 11 | </div> |
12 | 12 | <div class="name"><span class="tool_icon button with-text icon-new icon-new<%= step_item.tool_class.icon_name if step_item.tool_class %>"></span> <%= step_item.name %></div> |
13 | - <div class="lead"><%= step_item.body %></div> | |
13 | + <div class="lead"><%= step_item.body.html_safe %></div> | |
14 | 14 | <div class="tools"> |
15 | 15 | <% if step_item.tool %> |
16 | 16 | <%= _('Tool: ') %> | ... | ... |
plugins/community_track/views/content_viewer/step.html.erb
plugins/community_track/views/content_viewer/track.html.erb