Commit e7b1af14c0d7f7225122544239b24a457b30d256
1 parent
9cc7056d
Exists in
send_email_to_admins
and in
5 other branches
Sets some blog_helper strings as html_safe
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/helpers/blog_helper.rb
@@ -42,11 +42,11 @@ module BlogHelper | @@ -42,11 +42,11 @@ module BlogHelper | ||
42 | content << (content_tag 'div', id: "post-#{art.id}", class: css_add do | 42 | content << (content_tag 'div', id: "post-#{art.id}", class: css_add do |
43 | content_tag 'div', class: position + '-inner blog-post-inner' do | 43 | content_tag 'div', class: position + '-inner blog-post-inner' do |
44 | display_post(art, conf[:format]) + | 44 | display_post(art, conf[:format]) + |
45 | - '<br style="clear:both"/>' | 45 | + '<br style="clear:both"/>'.html_safe |
46 | end | 46 | end |
47 | end).html_safe | 47 | end).html_safe |
48 | } | 48 | } |
49 | - safe_join(content, "\n<hr class='sep-posts'/>\n") + (pagination or '').html_safe | 49 | + safe_join(content, "\n<hr class='sep-posts'/>\n".html_safe) + (pagination or '').html_safe |
50 | end | 50 | end |
51 | 51 | ||
52 | def display_post(article, format = 'full') | 52 | def display_post(article, format = 'full') |