<%= '<'.html_safe %>%= posts.each do |post| %>

<%= '<'.html_safe %>%= link_to post.title, post_path(post) %>

<%= '<'.html_safe %>% end %>