##// END OF EJS Templates
Rails3: use String#html_safe for project_tree_options_for_select() at ApplicationHelper....
Toshi MARUYAMA -
r6358:d5e5ab5e2f74
parent child
Show More
@@ -250,7 +250,7 module ApplicationHelper
250 tag_options.merge!(yield(project)) if block_given?
250 tag_options.merge!(yield(project)) if block_given?
251 s << content_tag('option', name_prefix + h(project), tag_options)
251 s << content_tag('option', name_prefix + h(project), tag_options)
252 end
252 end
253 s
253 s.html_safe
254 end
254 end
255
255
256 # Yields the given block for each project with its level in the tree
256 # Yields the given block for each project with its level in the tree
General Comments 0
You need to be logged in to leave comments. Login now