diff --git a/app/views/tag/show.html.erb b/app/views/tag/show.html.erb index d9c4f9356f..4cb4de843f 100644 --- a/app/views/tag/show.html.erb +++ b/app/views/tag/show.html.erb @@ -12,7 +12,7 @@

<%= link_to @wiki.latest.title, "/wiki/#{params[:id]}" %>

<%= @wiki.latest.render_body.match(/

(.+)<\/p>/).to_a.try(:first).to_s.html_safe %> - <% if @wiki.latest.render_body.split('

').length > 2 %>Learn more on the wiki page<% end %> + <% if @wiki.latest.render_body.split('

').length > 2 %>Learn more on the wiki page<% end %>
<% else %>