From ba88338d881dcdc74dc1bba6f98ec5c859d39ef0 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Sat, 10 May 2014 14:59:59 -0300 Subject: [PATCH] Fix escaping in blog post authorship info --- app/helpers/content_viewer_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/content_viewer_helper.rb b/app/helpers/content_viewer_helper.rb index 736ac10..527fd75 100644 --- a/app/helpers/content_viewer_helper.rb +++ b/app/helpers/content_viewer_helper.rb @@ -27,7 +27,7 @@ module ContentViewerHelper end title << content_tag('span', content_tag('span', show_date(article.published_at), :class => 'date') + - content_tag('span', [_(", by %s") % link_to(article.author_name, article.author_url)], :class => 'author') + + content_tag('span', _(", by %s") % link_to(article.author_name, article.author_url), :class => 'author') + content_tag('span', comments, :class => 'comments'), :class => 'created-at' ) -- libgit2 0.21.2