diff --git a/app/views/home/index.rhtml b/app/views/home/index.rhtml index 61239ee..bceaff2 100644 --- a/app/views/home/index.rhtml +++ b/app/views/home/index.rhtml @@ -9,7 +9,7 @@ <% @highlighted_news.each_with_index do |highlighted, index| %>
-

<%= link_to(highlighted.title, highlighted.url, :class => 'post-title') %>

+

<%= link_to(h(highlighted.title), highlighted.url, :class => 'post-title') %>

<%= !highlighted.abstract.blank? ? highlighted.abstract : highlighted.first_paragraph %>

@@ -28,7 +28,7 @@ <% @portal_news.each do |news| %>

  • - <%= link_to(news.title, news.url, :class => 'post-title' ) %> + <%= link_to(h(news.title), news.url, :class => 'post-title' ) %>
  • <% end %> @@ -40,10 +40,10 @@ <% content_tag(:div, :class => ["news-area", ['even', 'odd'][i%2]].join(' ')) do %> <% content_tag(:div, :class => 'news-area-inner-1') do %> <% content_tag(:div, :class => 'news-area-inner-2') do %> -

    <%= link_to folder.title, folder.url %>

    +

    <%= link_to h(folder.title), folder.url %>

    <%= link_to _('View more'), folder.url, :class => 'news-see-more' %> -- libgit2 0.21.2