Rails3: view: html_safe for wiki/show.html.erb
Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8453 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
29edbd605b
commit
56ca36ede1
|
@ -19,9 +19,9 @@
|
||||||
:action => 'show', :id => @page.title, :project_id => @page.project,
|
:action => 'show', :id => @page.title, :project_id => @page.project,
|
||||||
:version => (@content.version - 1)) + " - " if @content.version > 1 %>
|
:version => (@content.version - 1)) + " - " if @content.version > 1 %>
|
||||||
<%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %>
|
<%= "#{l(:label_version)} #{@content.version}/#{@page.content.version}" %>
|
||||||
<%= '(' + link_to(l(:label_diff), :controller => 'wiki', :action => 'diff',
|
<%= '('.html_safe + link_to(l(:label_diff), :controller => 'wiki', :action => 'diff',
|
||||||
:id => @page.title, :project_id => @page.project,
|
:id => @page.title, :project_id => @page.project,
|
||||||
:version => @content.version) + ')' if @content.version > 1 %> -
|
:version => @content.version) + ')'.html_safe if @content.version > 1 %> -
|
||||||
<%= link_to((l(:label_next) + " \xc2\xbb"), :action => 'show',
|
<%= link_to((l(:label_next) + " \xc2\xbb"), :action => 'show',
|
||||||
:id => @page.title, :project_id => @page.project,
|
:id => @page.title, :project_id => @page.project,
|
||||||
:version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
|
:version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
|
||||||
|
|
Loading…
Reference in New Issue