-
<%= link_to(highlighted.title, highlighted.url, :class => 'post-title') %>
+
<%= link_to(h(highlighted.title), highlighted.url, :class => 'post-title') %>
<%= show_date(highlighted.published_at, true) %>
<%= !highlighted.abstract.blank? ? highlighted.abstract : highlighted.first_paragraph %>
@@ -28,7 +28,7 @@
<% @portal_news.each do |news| %>
<%= show_date(news.published_at, true) %>
- <%= 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 %>
<% folder.news(environment.news_amount_by_folder).each do |news| %>
- - <%= link_to(news.title, news.url) %>
+ - <%= link_to(h(news.title), news.url) %>
<% end%>
<%= link_to _('View more'), folder.url, :class => 'news-see-more' %>
--
libgit2 0.21.2