Commit ca1e037eb78ec5cfc85f4cc9ee09faab86e1cb31

Authored by Victor Costa
1 parent fccd0621

proposals_discussion: fix quote char

views/proposals_discussion_plugin_profile/export.csv.erb
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <% header << _('Likes') if environment.plugin_enabled?('VotePlugin') %> 12 <% header << _('Likes') if environment.plugin_enabled?('VotePlugin') %>
13 <% header << _('Dislikes') if environment.plugin_enabled?('VotePlugin') %> 13 <% header << _('Dislikes') if environment.plugin_enabled?('VotePlugin') %>
14 14
15 -<%= CSV.generate_line(header, :row_sep => ?\t, :quote_char => ?\ ) %> 15 +<%= CSV.generate_line(header, :row_sep => ?\t) %>
16 16
17 <% @comments.each do |comment| %> 17 <% @comments.each do |comment| %>
18 <% line = [ 18 <% line = [
@@ -26,5 +26,5 @@ @@ -26,5 +26,5 @@
26 ] %> 26 ] %>
27 <% line << comment.votes_for if environment.plugin_enabled?('VotePlugin') %> 27 <% line << comment.votes_for if environment.plugin_enabled?('VotePlugin') %>
28 <% line << comment.votes_against if environment.plugin_enabled?('VotePlugin') %> 28 <% line << comment.votes_against if environment.plugin_enabled?('VotePlugin') %>
29 - <%= CSV.generate_line(line, :row_sep => ?\t, :quote_char => ?\ ) %> 29 + <%= CSV.generate_line(line, :row_sep => ?\t) %>
30 <% end %> 30 <% end %>