Commit 6aacd9074118d178872d26a21c7265a37099e83a
1 parent
81fd61af
Exists in
master
and in
29 other branches
Html_safe on blog_helper list_post
(ActionItem2658)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/blog_helper.rb
@@ -31,7 +31,7 @@ module BlogHelper | @@ -31,7 +31,7 @@ module BlogHelper | ||
31 | css_add << position + '-inner' | 31 | css_add << position + '-inner' |
32 | content << content_tag('div', | 32 | content << content_tag('div', |
33 | content_tag('div', | 33 | content_tag('div', |
34 | - display_post(art, format) + '<br style="clear:both"/>', | 34 | + display_post(art, format).html_safe + '<br style="clear:both"/>'.html_safe, |
35 | :class => 'blog-post ' + css_add.join(' '), | 35 | :class => 'blog-post ' + css_add.join(' '), |
36 | :id => "post-#{art.id}"), :class => position | 36 | :id => "post-#{art.id}"), :class => position |
37 | ) | 37 | ) |