Remove unecessary page title HTML escaping from views (#9252).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip 2011-10-02 18:45:17 +00:00
parent 65b533a8ec
commit 4ecd65c465
16 changed files with 16 additions and 16 deletions

View File

@ -10,7 +10,7 @@
 
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
<% html_title h(@attachment.filename) %>
<% html_title @attachment.filename %>
<% content_for :header_tags do -%>
<%= stylesheet_link_tag "scm" -%>

View File

@ -10,7 +10,7 @@
&nbsp;
<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
<% html_title h(@attachment.filename) %>
<% html_title @attachment.filename %>
<% content_for :header_tags do -%>
<%= stylesheet_link_tag "scm" -%>

View File

@ -65,7 +65,7 @@
<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
<% end %>
<% html_title h(@board.name) %>
<% html_title @board.name %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.rss_key}, :title => "#{@project}: #{@board}") %>

View File

@ -3,4 +3,4 @@
<p id="errorExplanation"><%=h @message %></p>
<p><a href="javascript:history.back()">Back</a></p>
<% html_title h(@status) %>
<% html_title @status %>

View File

@ -25,7 +25,7 @@
<% end %>
<% end %>
<% html_title h(@document.title) -%>
<% html_title @document.title -%>
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>

View File

@ -6,7 +6,7 @@
</div>
<h2><%= @query.new_record? ? l(:label_issue_plural) : h(@query.name) %></h2>
<% html_title(@query.new_record? ? l(:label_issue_plural) : h(@query.name)) %>
<% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %>
<% form_tag({ :controller => 'issues', :action => 'index', :project_id => @project }, :method => :get, :id => 'query_form') do %>
<%= hidden_field_tag 'set_filter', '1' %>

View File

@ -113,7 +113,7 @@
<%= f.link_to 'PDF' %>
<% end %>
<% html_title h("#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}") %>
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>

View File

@ -63,4 +63,4 @@
<%= stylesheet_link_tag 'scm' %>
<% end %>
<% html_title h(@topic.subject) %>
<% html_title @topic.subject %>

View File

@ -63,7 +63,7 @@
<% end %>
<% end %>
<% html_title h(@news.title) -%>
<% html_title @news.title -%>
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>

View File

@ -25,4 +25,4 @@ dirs.each do |dir|
%>
<%= "@ #{h rev_text}" unless rev_text.blank? %>
<% html_title(h(with_leading_slash(path))) -%>
<% html_title(with_leading_slash(path)) -%>

View File

@ -16,7 +16,7 @@
<%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %>
<% end %>
<% html_title(h(with_leading_slash(@path)), 'Diff') -%>
<% html_title(with_leading_slash(@path), 'Diff') -%>
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>

View File

@ -8,4 +8,4 @@
<%= render_tabs user_settings_tabs %>
<% html_title(l(:label_user), h(@user.login), l(:label_administration)) -%>
<% html_title(l(:label_user), @user.login, l(:label_administration)) -%>

View File

@ -67,4 +67,4 @@
<%= call_hook :view_account_right_bottom, :user => @user %>
</div>
<% html_title h(@user.name) %>
<% html_title @user.name %>

View File

@ -53,4 +53,4 @@
<%= call_hook :view_versions_show_bottom, :version => @version %>
<% html_title h(@version.name) %>
<% html_title @version.name %>

View File

@ -28,4 +28,4 @@
<%= robot_exclusion_tag %>
<% end %>
<% html_title h(@page.pretty_title) %>
<% html_title @page.pretty_title %>

View File

@ -65,4 +65,4 @@
<%= render :partial => 'sidebar' %>
<% end %>
<% html_title h(@page.pretty_title) %>
<% html_title @page.pretty_title %>