diff --git a/app/views/courses/show.html.erb b/app/views/courses/show.html.erb index 698bf3cea..79cb267b4 100644 --- a/app/views/courses/show.html.erb +++ b/app/views/courses/show.html.erb @@ -16,7 +16,7 @@ <%= l(:label_new_activity) %>: <%= link_to "#{eventToLanguageCourse(e.event_type, @course)} "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Course)) ? course_files_path(e.container) : e.event_url,:class => "problem_tit c_dblue fl fb"%>
-

<%= e.event_description %> +

<%= e.event_description.html_safe %>
<%= l :label_activity_time %> : <%= format_activity_day(day) %> <%= format_time(e.event_datetime, false) %>

diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb index bb7b18a4a..27a8e67f4 100644 --- a/app/views/layouts/base_homework.html.erb +++ b/app/views/layouts/base_homework.html.erb @@ -149,7 +149,7 @@ - <%= textilizable truncate(@bid.description, length: 200, omission: '...') %> + <%= @bid.description.html_safe %>