@@ -85,7 +85,7 module ApplicationHelper | |||
|
85 | 85 | end |
|
86 | 86 | |
|
87 | 87 | def textilizable(text) |
|
88 | $RDM_TEXTILE_DISABLED ? text : RedCloth.new(text).to_html | |
|
88 | $RDM_TEXTILE_DISABLED ? simple_format(auto_link(h(text))) : RedCloth.new(h(text)).to_html | |
|
89 | 89 | end |
|
90 | 90 | |
|
91 | 91 | def error_messages_for(object_name, options = {}) |
@@ -9,7 +9,7 | |||
|
9 | 9 | <h2><%= l(:label_revision) %> <%= @revision.identifier %></h2> |
|
10 | 10 | |
|
11 | 11 | <p><em><%= @revision.author %>, <%= format_time(@revision.time) %></em></p> |
|
12 |
<%= |
|
|
12 | <%= textilizable @revision.message %> | |
|
13 | 13 | |
|
14 | 14 | <div style="float:right;"> |
|
15 | 15 | <div class="square action_A"></div> <div style="float:left;"><%= l(:label_added) %> </div> |
@@ -29,7 +29,7 | |||
|
29 | 29 | <th align="center"><%= link_to revision.identifier, :action => 'revision', :id => @project, :rev => revision.identifier %></th> |
|
30 | 30 | <td align="center"><em><%=h revision.author %></em></td> |
|
31 | 31 | <td align="center"><%= format_time(revision.time) %></td> |
|
32 |
<td width="70%"><%= |
|
|
32 | <td width="70%"><%= textilizable(revision.message) %></td> | |
|
33 | 33 | <td align="center"><%= link_to 'Diff', :action => 'diff', :id => @project, :path => @path, :rev => revision.identifier if @entry.is_file? && revision != @revisions.last %></td> |
|
34 | 34 | </tr> |
|
35 | 35 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now