Commit 6aacd9074118d178872d26a21c7265a37099e83a

Authored by Rodrigo Souto
1 parent 81fd61af

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 31 css_add << position + '-inner'
32 32 content << content_tag('div',
33 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 35 :class => 'blog-post ' + css_add.join(' '),
36 36 :id => "post-#{art.id}"), :class => position
37 37 )
... ...