[Git][noosfero/noosfero][master] should not parse html code of block help content
Leandro Nunes
gitlab at mg.gitlab.com
Thu Jul 21 14:39:59 BRT 2016
Leandro Nunes pushed to branch master at Noosfero / noosfero
Commits:
ca77aeab by Leandro Nunes dos Santos at 2016-07-21T14:39:37-03:00
should not parse html code of block help content
- - - - -
1 changed file:
- app/views/box_organizer/show_block_type_info.html.erb
Changes:
=====================================
app/views/box_organizer/show_block_type_info.html.erb
=====================================
--- a/app/views/box_organizer/show_block_type_info.html.erb
+++ b/app/views/box_organizer/show_block_type_info.html.erb
@@ -15,7 +15,7 @@
<div id="block-info-description">
<h2><%= _('Description') %></h2>
<p><%= @block.class.description %></p>
- <p><%= @block.help if @block.class.method_defined?(:help) %></p>
+ <p><%= @block.help.html_safe if @block.class.method_defined?(:help) %></p>
</div>
</div>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/ca77aeabbe11e43d7754f39e38bed015a9754848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160721/369b62ab/attachment.html>
More information about the Noosfero-dev
mailing list