From 9e4fcf65bc21b0f39dd89c696e3f80efb82f6992 Mon Sep 17 00:00:00 2001
From: Kouhei Sutou
Date: Tue, 10 Jul 2012 19:04:36 +0900
Subject: [PATCH] Don't ignore spaces in diff (#11359)
---
app/views/journals/diff.html.erb | 4 +---
app/views/wiki/diff.html.erb | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/app/views/journals/diff.html.erb b/app/views/journals/diff.html.erb
index 21b8755..36c1e9b 100644
--- a/app/views/journals/diff.html.erb
+++ b/app/views/journals/diff.html.erb
@@ -1,9 +1,7 @@
<%=h @issue.tracker %> #<%= @issue.id %>
<%= authoring @journal.created_on, @journal.user, :label => :label_updated_time_by %>
-
-<%= simple_format_without_paragraph @diff.to_html %>
-
+<%= @diff.to_html %>
<%= link_to l(:button_back), issue_path(@issue), :onclick => 'history.back(); return false;' %>
diff --git a/app/views/wiki/diff.html.erb b/app/views/wiki/diff.html.erb
index ca1a57a..9915c90 100644
--- a/app/views/wiki/diff.html.erb
+++ b/app/views/wiki/diff.html.erb
@@ -22,6 +22,4 @@
%>, <%= format_time(@diff.content_to.updated_on) %>)
-
-<%= simple_format_without_paragraph @diff.to_html %>
-
+<%= @diff.to_html %>
--
1.7.10.4