<% coder = HTMLEntities.new %> <%= Rails.application.name %><%= @title.present? ? ": " + h(@title) : "" %> <%= @title %> <%= root_url + (@newest ? "newest" : "") %> <% @stories.each do |story| %> <%= raw coder.encode(story.title, :decimal) %> <%= story.url_or_comments_url %> <%= story.short_id_url %> <%= story.user.username %> <%= story.created_at.rfc2822 %> <%= story.comments_url %> <%= raw coder.encode(story.markeddown_description, :decimal) %> <% if story.url.present? %> <%= raw coder.encode("

" + link_to("Comments", story.comments_url) + "

", :decimal) %> <% end %>
<% story.taggings.each do |tagging| %> <%= tagging.tag.tag %> <% end %>
<% end %>