diff --git a/app/views/tag/show.html.erb b/app/views/tag/show.html.erb index 4d7b841c973..65931a6cf4b 100644 --- a/app/views/tag/show.html.erb +++ b/app/views/tag/show.html.erb @@ -12,7 +12,7 @@
(.+)<\/p>/).to_a.try(:first).to_s.html_safe %> - <%= link_to("Learn more on the wiki page", "/wiki/#{params[:id]}") if @wiki.latest.render_body.split('
').length > 2 %> + <% if @wiki.latest.render_body.split('').length > 2 %>Learn more on the wiki page<% end %>