[Git][noosfero/noosfero][master] should not escape body content of blog's description
Leandro Nunes
gitlab at mg.gitlab.com
Wed May 18 12:28:58 BRT 2016
Leandro Nunes pushed to branch master at Noosfero / noosfero
Commits:
fcfcc7be by Leandro Nunes dos Santos at 2016-05-18T12:28:16-03:00
should not escape body content of blog's description
- - - - -
1 changed file:
- app/views/content_viewer/blog_page.html.erb
Changes:
=====================================
app/views/content_viewer/blog_page.html.erb
=====================================
--- a/app/views/content_viewer/blog_page.html.erb
+++ b/app/views/content_viewer/blog_page.html.erb
@@ -4,7 +4,7 @@
<div>
<div class='blog-description'>
- <%= blog.body %>
+ <%= blog.body.html_safe %>
</div>
</div>
<hr class="pre-posts"/>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/fcfcc7bebe2d03c0c0f187901b3c45a515c70a83
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160518/e9cf6a29/attachment.html>
More information about the Noosfero-dev
mailing list