diff --git a/app/views/messages/_project_show.html.erb b/app/views/messages/_project_show.html.erb index 4456f36e9..66027e6ec 100644 --- a/app/views/messages/_project_show.html.erb +++ b/app/views/messages/_project_show.html.erb @@ -161,7 +161,8 @@
- <%= textilizable message, :content, :attachments => message.attachments %> + <%#= textilizable message,:content,:attachments => message.attachments %> + <%= message.content.html_safe %>
<%= link_to_attachments message, :author => false %> diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 6e5888363..5996852ef 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -1,5 +1,5 @@ -<% if @project %> - <%= render :partial => 'project_show', locals: {project: @project} %> -<% elsif @course %> - <%= render :partial => 'course_show', locals: {course: @course} %> -<% end %> +<% if @project %> + <%= render :partial => 'project_show', locals: {project: @project} %> +<% elsif @course %> + <%= render :partial => 'course_show', locals: {course: @course} %> +<% end %>