mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-05 16:43:25 +00:00
Use pre tags for wiki diff (#11359).
Patch by Kouhei Sutou. git-svn-id: http://svn.redmine.org/redmine/trunk@17742 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2452bc0092
commit
df365334d3
@ -1,9 +1,7 @@
|
||||
<h2><%= @issue.tracker %> #<%= @issue.id %></h2>
|
||||
<p><%= authoring @journal.created_on, @journal.user, :label => :label_updated_time_by %></p>
|
||||
|
||||
<div class="text-diff">
|
||||
<%= simple_format_without_paragraph @diff.to_html %>
|
||||
</div>
|
||||
<pre class="text-diff"><%= @diff.to_html %></pre>
|
||||
|
||||
<p>
|
||||
<%= link_to(l(:button_back), issue_path(@issue),
|
||||
|
||||
@ -24,6 +24,4 @@
|
||||
%>, <%= format_time(@diff.content_to.updated_on) %>)</em>
|
||||
</p>
|
||||
|
||||
<div class="text-diff">
|
||||
<%= simple_format_without_paragraph @diff.to_html %>
|
||||
</div>
|
||||
<pre class="text-diff"><%= @diff.to_html %></pre>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user