Commit ba88338d881dcdc74dc1bba6f98ec5c859d39ef0
1 parent
da1ac64a
Exists in
master
and in
29 other branches
Fix escaping in blog post authorship info
The extra [] were causing the text to be escaped in the generated HTML
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/content_viewer_helper.rb
@@ -27,7 +27,7 @@ module ContentViewerHelper | @@ -27,7 +27,7 @@ module ContentViewerHelper | ||
27 | end | 27 | end |
28 | title << content_tag('span', | 28 | title << content_tag('span', |
29 | content_tag('span', show_date(article.published_at), :class => 'date') + | 29 | content_tag('span', show_date(article.published_at), :class => 'date') + |
30 | - content_tag('span', [_(", by %s") % link_to(article.author_name, article.author_url)], :class => 'author') + | 30 | + content_tag('span', _(", by %s") % link_to(article.author_name, article.author_url), :class => 'author') + |
31 | content_tag('span', comments, :class => 'comments'), | 31 | content_tag('span', comments, :class => 'comments'), |
32 | :class => 'created-at' | 32 | :class => 'created-at' |
33 | ) | 33 | ) |