HTML escape at app/views/wiki/show.rhtml.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6393 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a1847bc4e6
commit
0c2958dbda
|
@ -21,7 +21,7 @@
|
||||||
<%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
|
<%= link_to((l(:label_next) + ' »'), :action => 'show', :id => @page.title, :project_id => @page.project, :version => (@content.version + 1)) + " - " if @content.version < @page.content.version %>
|
||||||
<%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %>
|
<%= link_to(l(:label_current_version), :action => 'show', :id => @page.title, :project_id => @page.project) %>
|
||||||
<br />
|
<br />
|
||||||
<em><%= @content.author ? @content.author.name : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br />
|
<em><%= @content.author ? link_to_user(@content.author) : "anonyme" %>, <%= format_time(@content.updated_on) %> </em><br />
|
||||||
<%=h @content.comments %>
|
<%=h @content.comments %>
|
||||||
</p>
|
</p>
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -58,4 +58,4 @@
|
||||||
<%= render :partial => 'sidebar' %>
|
<%= render :partial => 'sidebar' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% html_title @page.pretty_title %>
|
<% html_title h(@page.pretty_title) %>
|
||||||
|
|
Loading…
Reference in New Issue