Escape titles in activity view.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1145 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8adb320978
commit
71d089c833
|
@ -6,7 +6,7 @@
|
||||||
<dl>
|
<dl>
|
||||||
<% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
|
<% @events_by_day[day].sort {|x,y| y.event_datetime <=> x.event_datetime }.each do |e| -%>
|
||||||
<dt class="<%= e.class.name.downcase %>"><span class="time"><%= format_time(e.event_datetime, false) %></span>
|
<dt class="<%= e.class.name.downcase %>"><span class="time"><%= format_time(e.event_datetime, false) %></span>
|
||||||
<%= link_to truncate(e.event_title, 100), e.event_url %></dt>
|
<%= link_to h(truncate(e.event_title, 100)), e.event_url %></dt>
|
||||||
<dd><% unless e.event_description.blank? -%>
|
<dd><% unless e.event_description.blank? -%>
|
||||||
<span class="description"><%= format_activity_description(e.event_description) %></span><br />
|
<span class="description"><%= format_activity_description(e.event_description) %></span><br />
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue